summary refs log tree commit diff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-01-28 20:53:47 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-02-24 20:01:30 +0300
commit82e5e0dd52aac659a57bf07ae55e86cd531ea099 (patch)
treef3859ecb862ff846d3400895ce6ef316dfc127b0
parenta4e6bf64f7570aee5bc3393c24fa3c3dae8c228d (diff)
downloadguix-82e5e0dd52aac659a57bf07ae55e86cd531ea099.tar.gz
gnu: Add perl-software-license.
* gnu/packages/license.scm (perl-software-license): New public variable.
-rw-r--r--gnu/packages/license.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm
index 1cda21d6ed..3933b31d85 100644
--- a/gnu/packages/license.scm
+++ b/gnu/packages/license.scm
@@ -79,3 +79,27 @@ Regexp::Pattern is a convention for organizing reusable regex patterns.")
     (description "String::Copyright Parses common styles of copyright
 statements and serializes in normalized format.")
     (license gpl3+)))
+
+(define-public perl-software-license
+  (package
+    (name "perl-software-license")
+    (version "0.103013")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/L/LE/LEONT/Software-License-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1wqgh7vdlc966amlrq0b2szz18lnrl9rfh8wlf7v0hqg74vxjh96"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-try-tiny" ,perl-try-tiny)))
+    (propagated-inputs
+     `(("perl-data-section" ,perl-data-section)
+       ("perl-text-template" ,perl-text-template)))
+    (home-page "http://search.cpan.org/dist/Software-License/")
+    (synopsis "Templated software licenses")
+    (description "This package provides templated software licenses.")
+    (license (package-license perl))))