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 @@ (define-public hello
(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 @@ (define-record-type* <package>
(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))))