summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-13 11:45:32 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-13 13:52:15 -0500
commit6e1bb8aab946f492efc0860e88d1649b4ba2fc94 (patch)
tree16290a926ea6d9e2d26f6d36ac858a7118dde610 /gnu
parent7c68c033f312a13c65531f26eef09252d1e19524 (diff)
downloadguix-6e1bb8aab946f492efc0860e88d1649b4ba2fc94.tar.gz
gnu: Add Role-Tiny.
* gnu/packages/perl.scm (perl-role-tiny): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 5cb595cbe1..5ee92c6fe6 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2366,6 +2366,29 @@ codes.")
     ;; Quad-licensed: Perl Artistic, Perl Artistic 2.0, X11, and BSD.
     (license (list (package-license perl) x11 bsd-3))))
 
+(define-public perl-role-tiny
+  (package
+    (name "perl-role-tiny")
+    (version "1.003004")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
+                           "Role-Tiny-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ak60hakn0ixmsiw403si0lf5pagq5r6wjgl7p0pr979nlcikfmd"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-namespace-autoclean" ,perl-namespace-autoclean)
+       ("perl-test-fatal" ,perl-test-fatal)))
+    (propagated-inputs
+     `(("perl-class-method-modifiers" ,perl-class-method-modifiers)))
+    (home-page "http://search.cpan.org/dist/Role-Tiny")
+    (synopsis "Roles, as a slice of Moose")
+    (description "Role::Tiny is a minimalist role composition tool.")
+    (license (package-license perl))))
+
 (define-public perl-safe-isa
   (package
     (name "perl-safe-isa")