guix-commits
[Top][All Lists]
Advanced

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

16/72: gnu: Add Module-Implementation.


From: Eric Bavier
Subject: 16/72: gnu: Add Module-Implementation.
Date: Fri, 06 Mar 2015 14:12:54 +0000

bavier pushed a commit to branch master
in repository guix.

commit 3fa4c22abe5e07c1bbd109c48584fc74fabaa152
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 5 15:38:03 2015 -0600

    gnu: Add Module-Implementation.
    
    * gnu/packages/perl.scm (perl-module-implementation): New variable.
---
 gnu/packages/perl.scm |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index dadc66a..2431622 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")



reply via email to

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