packages: Add a `home-page' field.

* guix/packages.scm (<package>)[home-page]: New field.

* distro/base.scm (hello)[home-page]: Initialize.
This commit is contained in:
Ludovic Courtès 2012-06-28 23:44:43 +02:00
parent 35f3c5f5ad
commit 45753b6552
2 changed files with 3 additions and 0 deletions

View File

@ -46,4 +46,5 @@
(inputs `(("gawk" ,(nixpkgs-derivation "gawk"))))
(description "GNU Hello")
(long-description "Yeah...")
(home-page "http://www.gnu.org/software/hello/")
(license "GPLv3+")))

View File

@ -122,8 +122,10 @@ etc."
(description package-description) ; one-line description
(long-description package-long-description) ; one or two paragraphs
(license package-license (default '()))
(home-page package-home-page)
(platforms package-platforms (default '()))
(maintainers package-maintainers (default '()))
(location package-location
(default (and=> (current-source-location)
source-properties->location))))