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 23:16:23 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:50 -0500
commitbb90ae0cb043b45152d5f92628eef944f854cd7a (patch)
treef9f85b8c2f8b6fcea287adba1816c25ed425deee /gnu/packages/perl.scm
parent85690ec1449a4ef997b3b55caf2692f497637f57 (diff)
downloadguix-bb90ae0cb043b45152d5f92628eef944f854cd7a.tar.gz
gnu: Add Bit-Vector.
* gnu/packages/perl.scm (perl-bit-vector): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 10c292cd88..56cb2d9ca8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -254,6 +254,31 @@ but don't want to go all out and profile your code.")
                               "Benchmark-Timer-" version))
     (license gpl2)))
 
+(define-public perl-bit-vector
+  (package
+    (name "perl-bit-vector")
+    (version "7.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/S/ST/STBEY/"
+                           "Bit-Vector-" version ".tar.gz"))
+       (sha256
+        (base32
+         "09m96p8c0ipgz42li2ywdgy0vxb57mb5nf59j9gw7yzc3xkslv9w"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-carp-clan" ,perl-carp-clan)))
+    (home-page "http://search.cpan.org/dist/Bit-Vector")
+    (synopsis "Bit vector library")
+    (description "Bit::Vector is an efficient C library which allows you to
+handle bit vectors, sets (of integers), \"big integer arithmetic\" and boolean
+matrices, all of arbitrary sizes.  The package also includes an
+object-oriented Perl module for accessing the C library from Perl, and
+optionally features overloaded operators for maximum ease of use.  The C
+library can nevertheless be used stand-alone, without Perl.")
+    (license (list (package-license perl) lgpl2.0+))))
+
 (define-public perl-boolean
   (package
     (name "perl-boolean")