summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-01-29 16:14:11 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-02-24 20:01:31 +0300
commit615cf73f6991856acf5c877ee2a8b4edb42d9224 (patch)
tree061f7c2d6b1a1f2a3eeeb94e24e33e6c3c285c84 /gnu/packages/perl.scm
parent4fabb4a2937ccbbbf6906b29e6be8229d1cef862 (diff)
downloadguix-615cf73f6991856acf5c877ee2a8b4edb42d9224.tar.gz
gnu: Add perl-sub-quote.
* gnu/packages/perl.scm (perl-sub-quote): New public variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 03fb9bf077..2833f26240 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7305,6 +7305,30 @@ specification is omitted in the name, then the current package is used.  The
 return value is the sub.")
     (license (package-license perl))))
 
+(define-public perl-sub-quote
+  (package
+    (name "perl-sub-quote")
+    (version "2.004000")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/H/HA/HAARG/Sub-Quote-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1zrh3apxsw1ks25zkh9dcn00656rsvq4mimqz3w8p37s2c1m4qaq"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-fatal" ,perl-test-fatal)))
+    (propagated-inputs
+     `(("perl-sub-name" ,perl-sub-name)))
+    (home-page "http://search.cpan.org/dist/Sub-Quote/")
+    (synopsis "Efficient generation of subroutines via string eval")
+    (description "Sub::Quote provides an efficient generation of subroutines
+via string eval.")
+    (license (package-license perl))))
+
 (define-public perl-sub-uplevel
   (package
     (name "perl-sub-uplevel")