all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* New importer for GNU packages
@ 2014-11-11 14:37 Ludovic Courtès
  2014-11-11 14:42 ` David Thompson
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2014-11-11 14:37 UTC (permalink / raw)
  To: guix-devel; +Cc: Karl Berry

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-11-21 22:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-11 14:37 New importer for GNU packages Ludovic Courtès
2014-11-11 14:42 ` 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

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.