From 45753b65529b4e99e522f85f93df8f2269d2dab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 28 Jun 2012 23:44:43 +0200 Subject: [PATCH] packages: Add a `home-page' field. * guix/packages.scm ()[home-page]: New field. * distro/base.scm (hello)[home-page]: Initialize. --- distro/base.scm | 1 + guix/packages.scm | 2 ++ 2 files changed, 3 insertions(+) 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))))