gnu: Add perl-storable.
authorRaghav Gururajan <rg@raghavgururajan.name>
Tue, 22 Jun 2021 13:12:14 +0000 (09:12 -0400)
committerRaghav Gururajan <rg@raghavgururajan.name>
Mon, 5 Jul 2021 01:07:08 +0000 (21:07 -0400)
* gnu/packages/perl.scm (perl-storable): New variable.

gnu/packages/perl.scm

index eaf4a18..b9a8e4c 100644 (file)
@@ -9206,6 +9206,27 @@ which it is called.")
 implementation of @dfn{Principal Component Analysis} (PCA).")
     (license license:perl-license)))
 
+(define-public perl-storable
+  (package
+    (name "perl-storable")
+    (version "3.15")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/X/XS/XSAWYERX/"
+                           "Storable-" version ".tar.gz"))
+       (sha256
+        (base32 "1nkln4fm4962b5jk1dp6lf635nnrj5a5pg1a5xmchvrfrc3asggw"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-xsloader" ,perl-xsloader)))
+    (home-page "https://metacpan.org/dist/Storable")
+    (synopsis "Persistence for Perl data structures")
+    (description "Storable brings persistence to your Perl data structures
+containing SCALAR, ARRAY, HASH or REF objects, i.e. anything that can be
+conveniently stored to disk and retrieved at a later time.")
+    (license (package-license perl))))
+
 (define-public perl-stream-buffered
   (package
     (name "perl-stream-buffered")