guix-commits
[Top][All Lists]
Advanced

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

24/40: gnu: Add MooseX-Getopt.


From: Eric Bavier
Subject: 24/40: gnu: Add MooseX-Getopt.
Date: Thu, 12 Mar 2015 20:56:04 +0000

bavier pushed a commit to branch master
in repository guix.

commit 1a17aa2dc7dedf4125517ff8532f20b7da73a0c9
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 12 12:14:50 2015 -0500

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

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index ecdaa57..96a77c9 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1514,6 +1514,36 @@ system.  The public API of Class::Accessor::Fast is 
wholly supported, but the
 private methods are not.")
     (license (package-license perl))))
 
+(define-public perl-moosex-getopt
+  (package
+    (name "perl-moosex-getopt")
+    (version "0.65")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+                           "MooseX-Getopt-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1nkzvbsiwldmpn6207ns7rinh860djnw098h6cnvywf429rjnz60"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-deep" ,perl-test-deep)
+       ("perl-test-fatal" ,perl-test-fatal)
+       ("perl-test-requires" ,perl-test-requires)
+       ("perl-test-trap" ,perl-test-trap)
+       ("perl-test-warnings" ,perl-test-warnings)))
+    (propagated-inputs
+     `(("perl-getopt-long-descriptive" ,perl-getopt-long-descriptive)
+       ("perl-moose" ,perl-moose)
+       ("perl-moosex-role-parameterized" ,perl-moosex-role-parameterized)
+       ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
+    (home-page "http://search.cpan.org/dist/MooseX-Getopt";)
+    (synopsis "Moose role for processing command line options")
+    (description "This is a Moose role which provides an alternate constructor
+for creating objects using parameters passed in from the command line.")
+    (license (package-license perl))))
+
 (define-public perl-moosex-role-parameterized
   (package
     (name "perl-moosex-role-parameterized")



reply via email to

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