doc: Document basic package definitions.

* doc/guix.texi (Programming Interface): Add introduction.
  (Defining Packages): Populate.
This commit is contained in:
Ludovic Courtès 2012-11-21 15:56:43 +01:00
parent dce3a40bae
commit 3dc1970dda
2 changed files with 151 additions and 3 deletions

View file

@ -19,8 +19,8 @@ Package recipes in Guix look like this:
(version "2.5")
(source
(origin
(method http-fetch)
(uri (string-append "http://ftp.gnu.org/gnu/nettle/nettle-"
(method url-fetch)
(uri (string-append "mirror://gnu/nettle/nettle-"
version ".tar.gz"))
(sha256
(base32