diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-06-28 23:44:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-06-28 23:44:43 +0200 |
commit | 45753b65529b4e99e522f85f93df8f2269d2dab8 (patch) | |
tree | 3ad351d746703b9d2cedc5bf6ee9f5ae5c41d75b | |
parent | 35f3c5f5ad0be31c7b8930c9cb6bcc8ac252829e (diff) | |
download | gnu-guix-45753b65529b4e99e522f85f93df8f2269d2dab8.tar gnu-guix-45753b65529b4e99e522f85f93df8f2269d2dab8.tar.gz |
packages: Add a `home-page' field.
* guix/packages.scm (<package>)[home-page]: New field.
* distro/base.scm (hello)[home-page]: Initialize.
-rw-r--r-- | distro/base.scm | 1 | ||||
-rw-r--r-- | guix/packages.scm | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/distro/base.scm b/distro/base.scm index d830d6efef..f80795282a 100644 --- a/distro/base.scm +++ b/distro/base.scm @@ -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+"))) diff --git a/guix/packages.scm b/guix/packages.scm index 00751cedd5..786e6a8dc9 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -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)))) |