From: ludo@gnu.org (Ludovic Courtès)
To: guix-devel@gnu.org
Cc: Karl Berry <karl@freefriends.org>
Subject: New importer for GNU packages
Date: Tue, 11 Nov 2014 15:37:17 +0100 [thread overview]
Message-ID: <87h9y5iz1e.fsf@gnu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 3374 bytes --]
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 <bernd.paysan@gmx.de>" 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 <bernd.paysan@gmx.de>" [unknown]
gpg: aka "Bernd Paysan <bernd@net2o.de>" [unknown]
gpg: aka "Bernd Paysan <berndpaysan@163.com>" [unknown]
gpg: aka "Bernd Paysan <bernd@bernd-paysan.de>" [unknown]
gpg: aka "Bernd Paysan <bernd.paysan@gmail.com>" [unknown]
gpg: aka "Bernd Paysan <bernd.paysan@googlemail.com>" [unknown]
gpg: aka "Bernd Paysan (Forth Gesellschaft e.V.) <bp@forth-ev.de>" [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’.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next reply other threads:[~2014-11-11 14:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-11 14:37 Ludovic Courtès [this message]
2014-11-11 14:42 ` New importer for GNU packages David Thompson
2014-11-11 16:42 ` Ludovic Courtès
2014-11-11 22:25 ` Karl Berry
2014-11-21 10:00 ` Andreas Enge
2014-11-21 22:32 ` Karl Berry
2014-11-21 22:55 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9y5iz1e.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=karl@freefriends.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.