[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu-maintenance: Add 'find-package-with-attrs' and '%package-lis
From: |
Nikita Karetnikov |
Subject: |
[PATCH] gnu-maintenance: Add 'find-package-with-attrs' and '%package-list'. |
Date: |
Fri, 22 Feb 2013 00:29:47 -0500 |
This patch adds a procedure to fetch information from Womb.
scheme@(guile-user)> ,use (guix gnu-maintenance)
scheme@(guile-user)> (find-package-with-attrs "guix")
$1 = ("package: guix" "logo: /software/guix/graphics/guix-logo.small.png"
"doc-category: Sysadmin" "doc-summary: Managing installed software packages and
versions" "doc-url: none" "gplv3-status: should-be-ok" "activity-status:
newpkg/20121117")
(By the way, we should add 'doc-url'.)
I'd like to simplify it. For instance, it would be great to find the
needed package using a single 'filter'. I guess that 'fold' can be
removed too.
Also, it should be possible to get a single attribute (e.g.,
'doc-summary'), not all of them. I'll implement that later.
The goal is to use this procedure from 'guix import'.
0001-gnu-maintenance-Add-find-package-with-attrs-and-pack.patch
Description: Text Data
pgpkHgv4yDKVU.pgp
Description: PGP signature
- [PATCH] gnu-maintenance: Add 'find-package-with-attrs' and '%package-list'.,
Nikita Karetnikov <=