aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2016-12-12 21:59:27 -0600
committerEric Bavier <bavier@member.fsf.org>2016-12-12 22:22:33 -0600
commitff55fe559951b88bfd691b9dada3a0f26002c4cb (patch)
treea3ea1ad84f49dab113485e02c4d101a0b24648a3 /gnu
parentd391ad57d69facc25bba74d959421f7725cbf000 (diff)
downloadguix-ff55fe559951b88bfd691b9dada3a0f26002c4cb.tar.gz
guix-ff55fe559951b88bfd691b9dada3a0f26002c4cb.zip
import: cpan: Add updater.
* guix/import/cpan.scm (module->dist-name): Fetch the field of interest. (cpan-fetch): Accept release name rather than module name. (fix-source-url): Rename to ... (cpan-source-url): ... this. Take metadata as parameter. (package->upstream-name, cpan-version, cpan-package?, latest-release): New procedures. (cpan-module->sexp): Use cpan-version and cpan-source-url. (%cpan-updater): New variable. * guix/scripts/refresh.scm (%updaters): Add %CPAN-UPDATER.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions