aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 15:38:03 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:26 -0600
commit3fa4c22abe5e07c1bbd109c48584fc74fabaa152 (patch)
tree9a71d05e03fe74bf6897cedaa76cf7fa868f350c /gnu
parent76a6f27952633e9f102826896f477f8208718f09 (diff)
downloadpatches-3fa4c22abe5e07c1bbd109c48584fc74fabaa152.tar
patches-3fa4c22abe5e07c1bbd109c48584fc74fabaa152.tar.gz
gnu: Add Module-Implementation.
* gnu/packages/perl.scm (perl-module-implementation): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index dadc66acec..2431622ac0 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -390,6 +390,34 @@ Perlish API and none of the bloat and rarely used features of IPC::Run.")
;; licenses, any version."
(license (list bsd-3 gpl3+))))
+(define-public perl-module-implementation
+ (package
+ (name "perl-module-implementation")
+ (version "0.09")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
+ "Module-Implementation-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0vfngw4dbryihqhi7g9ks360hyw8wnpy3hpkzyg0q4y2y091lpy1"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-fatal" ,perl-test-fatal)
+ ("perl-test-requires" ,perl-test-requires)))
+ (propagated-inputs
+ `(("perl-module-runtime" ,perl-module-runtime)
+ ("perl-try-tiny" ,perl-try-tiny)))
+ (home-page "http://search.cpan.org/dist/Module-Implementation")
+ (synopsis "Loads alternate underlying implementations for a module")
+ (description "This module abstracts out the process of choosing one of
+several underlying implementations for a module. This can be used to provide
+XS and pure Perl implementations of a module, or it could be used to load an
+implementation for a given OS or any other case of needing to provide multiple
+implementations.")
+ (license artistic2.0)))
+
(define-public perl-module-runtime
(package
(name "perl-module-runtime")