Karl recently suggested that we add a semi-automatic tool to facilitate the addition of GNU packages, and Andreas rightfully noted that we already have most of the infrastructure for ‘guix refresh’ et al. Commit 7047133 adds that new command (will be in 0.8). Here’s a sample session: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix import gnu gforth starting download of `/tmp/guix-file.IC7ZLK' from `ftp://ftp.gnu.org//gnu/gforth/gforth-0.7.3.tar.gz'... ftp://ftp.gnu.org/.../gforth-0.7.3.tar.gz 100.0% of 2464.3 KiB starting download of `/tmp/guix-file.7bKxRh' from `ftp://ftp.gnu.org//gnu/gforth/gforth-0.7.3.tar.gz.sig'... ftp://ftp.gnu.org/.../gforth-0.7.3.tar.gz.sig 100.0% of 0.1 KiB gpg: Signature made Sat 14 Jun 2014 12:56:48 AM CEST using DSA key ID 67007C30 gpg: Ne povas kontroli subskribon: Neniu publika ŝlosilo Would you like to download this key and add it to your keyring? yes gpg: requesting key 67007C30 from hkp server pgp.mit.edu gpg: key 67007C30: public key "Bernd Paysan " imported gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model gpg: depth: 0 valid: 18 signed: 42 trust: 0-, 0q, 0n, 0m, 0f, 18u gpg: depth: 1 valid: 42 signed: 37 trust: 42-, 0q, 0n, 0m, 0f, 0u gpg: sekva kontrolo de fido-datenaro je 2015-05-13 gpg: Nombro traktita entute: 1 gpg: importitaj: 1 gpg: Signature made Sat 14 Jun 2014 12:56:48 AM CEST using DSA key ID 67007C30 gpg: Good signature from "Bernd Paysan " [unknown] gpg: aka "Bernd Paysan " [unknown] gpg: aka "Bernd Paysan " [unknown] gpg: aka "Bernd Paysan " [unknown] gpg: aka "Bernd Paysan " [unknown] gpg: aka "Bernd Paysan " [unknown] gpg: aka "Bernd Paysan (Forth Gesellschaft e.V.) " [unknown] gpg: aka "[jpeg image of size 1410]" [unknown] gpg: aka "[jpeg image of size 4913]" [unknown] gpg: AVERTO: Ĉi tiu ŝlosilo ne estas atestita kun fidata subskribo! gpg: Estas nenia indiko, ke la subskribo apartenas al la posedanto. Primary key fingerprint: E50D 62D4 49FD 0E19 3706 C235 8B82 0BB7 6700 7C30 (package (name "gforth") (version "0.7.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gforth/gforth-" version ".tar.gz")) (sha256 (base32 "f5rpeiz36armepibzeqlcvlkue7kwfuogi3lcm2svrpj6gcufoya")))) (build-system gnu-build-system) (synopsis "Forth interpreter") (description "Gforth is a fast and portable implementation of the ANSI Forth language. It includes an editing mode for Emacs and an interpreter featuring completion and history. A generic virtual machine environment, vmgen, is also included.") (home-page "htmlxref") (license find-by-yourself!)) --8<---------------cut here---------------end--------------->8--- One still needs to specify the dependencies, license, etc., but that already saves a bit of time. OpenPGP key handling works as for ‘guix refresh’. Comments welcome! Ludo’.