guix-commits
[Top][All Lists]
Advanced

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

26/40: gnu: Add MooseX-Types.


From: Eric Bavier
Subject: 26/40: gnu: Add MooseX-Types.
Date: Thu, 12 Mar 2015 20:56:05 +0000

bavier pushed a commit to branch master
in repository guix.

commit ffb2d0b42b14035a0ed403d42878fc38a1e2e7be
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 12 12:30:13 2015 -0500

    gnu: Add MooseX-Types.
    
    * gnu/packages/perl.scm (perl-moosex-types): New variable.
---
 gnu/packages/perl.scm |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 2909029..22c83e8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1623,6 +1623,33 @@ methods to be composed into the classes/roles/instances 
it's compiled to,
 where plain Moose::Roles would lose the overloading.")
     (license (package-license perl))))
 
+(define-public perl-moosex-types
+  (package
+    (name "perl-moosex-types")
+    (version "0.45")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+                           "MooseX-Types-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1iq90s1f0xbmr194q0mhnp9wxqxwwilkbdml040ibqbqvfiz87yh"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-fatal" ,perl-test-fatal)
+       ("perl-test-requires" ,perl-test-requires)))
+    (propagated-inputs
+     `(("perl-carp-clan" ,perl-carp-clan)
+       ("perl-moose" ,perl-moose)
+       ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
+    (home-page "http://search.cpan.org/dist/MooseX-Types";)
+    (synopsis "Organise your Moose types in libraries")
+    (description "This package lets you declare types using short names, but
+behind the scenes it namespaces all your type declarations, effectively
+prevent name clashes between packages.")
+    (license (package-license perl))))
+
 (define-public perl-mro-compat
   (package
     (name "perl-mro-compat")



reply via email to

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