[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: Add perl-type-tie.
From: |
Ricardo Wurmus |
Subject: |
04/09: gnu: Add perl-type-tie. |
Date: |
Mon, 14 Aug 2017 06:00:17 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 413dd21084ea96067a8f25d23fd0d01088f55e67
Author: Ricardo Wurmus <address@hidden>
Date: Wed Aug 9 19:00:32 2017 +0200
gnu: Add perl-type-tie.
* gnu/packages/perl.scm (perl-type-tie): New variable.
---
gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index dcd9640..5c36ced 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7726,6 +7726,34 @@ that are designed to minimize common mistakes with eval
blocks, and nothing
else.")
(license x11)))
+(define-public perl-type-tie
+ (package
+ (name "perl-type-tie")
+ (version "0.009")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/T/TO/TOBYINK/"
+ "Type-Tie-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1wv32kd7gx4kfyvzs13y029f49qbbji991wawvarac7rlz09wpan"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-fatal" ,perl-test-fatal)
+ ("perl-test-requires" ,perl-test-requires)))
+ (propagated-inputs
+ `(("perl-exporter-tiny" ,perl-exporter-tiny)
+ ("perl-hash-fieldhash" ,perl-hash-fieldhash)))
+ (home-page "http://search.cpan.org/dist/Type-Tie")
+ (synopsis "Tie a variable to a type constraint")
+ (description "This module exports a single function: @code{ttie}. It ties
+a variable to a type constraint, ensuring that whatever values stored in the
+variable will conform to the type constraint. If the type constraint has
+coercions, these will be used if necessary to ensure values assigned to the
+variable conform.")
+ (license (package-license perl))))
+
(define-public perl-types-serialiser
(package
(name "perl-types-serialiser")
- branch master updated (28fd275 -> 233f4f4), Ricardo Wurmus, 2017/08/14
- 09/09: gnu: Add perl-math-random-secure., Ricardo Wurmus, 2017/08/14
- 05/09: gnu: Add perl-regexp-util., Ricardo Wurmus, 2017/08/14
- 07/09: gnu: Add perl-type-tiny., Ricardo Wurmus, 2017/08/14
- 08/09: gnu: Add perl-crypt-random-source., Ricardo Wurmus, 2017/08/14
- 04/09: gnu: Add perl-type-tie.,
Ricardo Wurmus <=
- 03/09: gnu: Add perl-math-random-isaac., Ricardo Wurmus, 2017/08/14
- 02/09: gnu: Add perl-math-random-isaac-xs., Ricardo Wurmus, 2017/08/14
- 06/09: gnu: Add perl-ref-util-xs., Ricardo Wurmus, 2017/08/14
- 01/09: gnu: Add perl-hash-fieldhash., Ricardo Wurmus, 2017/08/14