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")))) (inputs `(("gawk" ,(nixpkgs-derivation "gawk"))))
(description "GNU Hello") (description "GNU Hello")
(long-description "Yeah...") (long-description "Yeah...")
(home-page "http://www.gnu.org/software/hello/")
(license "GPLv3+"))) (license "GPLv3+")))

View File

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