summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 22:58:33 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:50 -0500
commit85690ec1449a4ef997b3b55caf2692f497637f57 (patch)
treec120763257239c96a24a87a9c3e3e403b76450c9 /gnu/packages/perl.scm
parente58a2fa16ec4f7fcf4072e4d152dc381107871a8 (diff)
downloadguix-85690ec1449a4ef997b3b55caf2692f497637f57.tar.gz
gnu: Add Perl boolean.
* gnu/packages/perl.scm (perl-boolean): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index a488815451..10c292cd88 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -254,6 +254,25 @@ but don't want to go all out and profile your code.")
                               "Benchmark-Timer-" version))
     (license gpl2)))
 
+(define-public perl-boolean
+  (package
+    (name "perl-boolean")
+    (version "0.45")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/I/IN/INGY/"
+                           "boolean-" version ".tar.gz"))
+       (sha256
+        (base32
+         "18hrgldzwnhs0c0r8hxx6r05qvk9p7gwinjwcybixfs2h0n43ypj"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/boolean")
+    (synopsis "Boolean support for Perl")
+    (description "This module provides basic Boolean support, by defining two
+special objects: true and false.")
+    (license (package-license perl))))
+
 (define-public perl-cache-cache
   (package
     (name "perl-cache-cache")