diff options
| author | Mathieu Lirzin <mthl@openmailbox.org> | 2015-09-13 22:26:37 +0200 |
|---|---|---|
| committer | Mathieu Lirzin <mthl@openmailbox.org> | 2015-09-14 23:10:58 +0200 |
| commit | 17d8e33f316b7e88aa06452f873b59770989f1b6 (patch) | |
| tree | f2b9581ba113a5dc45d6c722534c3ee9deca0176 /doc/package-hello.scm | |
| parent | 9c38b54027ee009f9ff604342ae99c4ebd7958a6 (diff) | |
doc: Use the recommended Scheme format.
Apply the recommended formatting rules from '.dir-locals.el' to the
examples in the manual in order to fulfill it's purpose of being a
reference.
* doc/package-hello.scm: Indent it.
* doc/guix.texi (Defining Packages, Version Numbers): Likewise.
* gnu/packages/base.scm (hello): Be consistent with the manual.
Diffstat (limited to 'doc/package-hello.scm')
| -rw-r--r-- | doc/package-hello.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/package-hello.scm b/doc/package-hello.scm index b3fcd4ff73b..c57eb891089 100644 --- a/doc/package-hello.scm +++ b/doc/package-hello.scm | |||
| @@ -4,13 +4,14 @@ | |||
| 4 | 4 | ||
| 5 | (package | 5 | (package |
| 6 | (name "hello") | 6 | (name "hello") |
| 7 | (version "2.8") | 7 | (version "2.10") |
| 8 | (source (origin | 8 | (source (origin |
| 9 | (method url-fetch) | 9 | (method url-fetch) |
| 10 | (uri (string-append "mirror://gnu/hello/hello-" version | 10 | (uri (string-append "mirror://gnu/hello/hello-" version |
| 11 | ".tar.gz")) | 11 | ".tar.gz")) |
| 12 | (sha256 | 12 | (sha256 |
| 13 | (base32 "0wqd8sjmxfskrflaxywc7gqw7sfawrfvdxd9skxawzfgyy0pzdz6")))) | 13 | (base32 |
| 14 | "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))) | ||
| 14 | (build-system gnu-build-system) | 15 | (build-system gnu-build-system) |
| 15 | (synopsis "Hello, GNU world: An example GNU package") | 16 | (synopsis "Hello, GNU world: An example GNU package") |
| 16 | (description "Guess what GNU Hello prints!") | 17 | (description "Guess what GNU Hello prints!") |
