guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New importer for GNU packages


From: Ludovic Courtès
Subject: Re: New importer for GNU packages
Date: Fri, 21 Nov 2014 23:55:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

address@hidden (Karl Berry) skribis:

> More accessibly, the gnupackages.txt in womb/gnumaint on savannah has
> the same list, minus the special cases.

Using that info, via the API from (guix gnu-maintenance):

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,use(guix gnu-maintenance)
scheme@(guile-user)> ,use(gnu packages)
scheme@(guile-user)> ,use(srfi srfi-1)
scheme@(guile-user)> (length (official-gnu-packages))
$3 = 381
scheme@(guile-user)> (count (lambda (p)
                              (pair? (find-packages-by-name (gnu-package-name 
p))))
                            (official-gnu-packages))
$4 = 155
scheme@(guile-user)> (/ $4 $3 1.)
$5 = 0.4068241469816273
--8<---------------cut here---------------end--------------->8---

So we’re at 40% of coverage.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]