gnu: Add Perl Clone::Choose.

* gnu/packages/perl.scm (perl-clone-choose): New variable.
This commit is contained in:
Eric Bavier 2019-06-28 22:44:59 -05:00
parent f5de2b9a3e
commit d1555f34c0
No known key found for this signature in database
GPG key ID: FD73CAC719D32566

View file

@ -2,7 +2,7 @@
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016, 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2017 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015, 2016, 2017, 2019 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2016, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
@ -1283,6 +1283,32 @@ (define-public perl-clone
(home-page "https://metacpan.org/release/Clone")
(license (package-license perl))))
(define-public perl-clone-choose
(package
(name "perl-clone-choose")
(version "0.010")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/H/HE/HERMES/"
"Clone-Choose-" version ".tar.gz"))
(sha256
(base32
"0cin2bjn5z8xhm9v4j7pwlkx88jnvz8al0njdjwyvs6fb0glh8sn"))))
(build-system perl-build-system)
(native-inputs
`(("perl-clone" ,perl-clone)
("perl-clone-pp" ,perl-clone-pp)
("perl-test-without-module" ,perl-test-without-module)))
(propagated-inputs
`(("perl-module-runtime" ,perl-module-runtime)))
(home-page "https://metacpan.org/release/Clone-Choose")
(synopsis "Choose appropriate Perl @code{clone} utility")
(description "This @code{Clone::Choose} module checks several different
modules which provide a @code{clone()} function and selects an appropriate
one.")
(license perl-license)))
(define-public perl-clone-pp
(package
(name "perl-clone-pp")