guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add Clone.


From: Ludovic Courtès
Subject: 01/03: gnu: Add Clone.
Date: Fri, 19 Dec 2014 16:16:06 +0000

civodul pushed a commit to branch master
in repository guix.

commit cdae969ae5191d50375c0cb7182d0ac82558875d
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Dec 16 16:02:15 2014 +0100

    gnu: Add Clone.
    
    * gnu/packages/perl.scm (perl-clone): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/perl.scm |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 9c01b26..03cad3e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -74,6 +74,27 @@
     (home-page "http://www.perl.org/";)
     (license gpl1+)))                          ; or "Artistic"
 
+(define-public perl-clone
+  (package
+    (name "perl-clone")
+    (version "0.37")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cpan/authors/id/G/GA/GARU/"
+                                  "Clone-" version ".tar.gz"))
+              (sha256
+               (base32
+                "17fdhxpzrq2nwim3zkcrz4m9gjixp0i886yz54ysrshxy3k53wnr"))))
+    (build-system perl-build-system)
+    (synopsis "Recursively copy Perl datatypes")
+    (description
+     "This module provides a clone() method which makes recursive copies of
+nested hash, array, scalar and reference types, including tied variables and
+objects.")
+    (home-page (string-append "http://search.cpan.org/~garu/";
+                              "Clone-" version))
+    (license (package-license perl))))
+
 (define-public perl-file-list
   (package
     (name "perl-file-list")



reply via email to

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