summaryrefslogtreecommitdiff
path: root/doc/package-hello.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-08-09 11:35:51 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-08-19 22:23:59 -0400
commit0d2794005caa627965fd6256f28f94e36cd4b5a0 (patch)
tree065eb643a5a59653faa90206dc07d12996ebbb6d /doc/package-hello.scm
parent83bde59fb3db5827002a0049a5571e4163af5ff1 (diff)
scripts: package: Add --install-from-file option.
* guix/scripts/package.scm (show-help): Add help text for --install-from-file option. (%options): Add --install-from-file option. * tests/guix-package.sh: Test it. * doc/guix.texi ("invoking guix package"): Document it. * doc/package-hello.scm: New file. * doc.am (EXTRA_DIST): Add it.
Diffstat (limited to 'doc/package-hello.scm')
-rw-r--r--doc/package-hello.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/package-hello.scm b/doc/package-hello.scm
new file mode 100644
index 00000000000..b3fcd4ff73b
--- /dev/null
+++ b/doc/package-hello.scm
@@ -0,0 +1,18 @@
1(use-modules (guix)
2 (guix build-system gnu)
3 (guix licenses))
4
5(package
6 (name "hello")
7 (version "2.8")
8 (source (origin
9 (method url-fetch)
10 (uri (string-append "mirror://gnu/hello/hello-" version
11 ".tar.gz"))
12 (sha256
13 (base32 "0wqd8sjmxfskrflaxywc7gqw7sfawrfvdxd9skxawzfgyy0pzdz6"))))
14 (build-system gnu-build-system)
15 (synopsis "Hello, GNU world: An example GNU package")
16 (description "Guess what GNU Hello prints!")
17 (home-page "http://www.gnu.org/software/hello/")
18 (license gpl3+))