[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/22: gnu: Add perl-specio.
From: |
Leo Famulari |
Subject: |
03/22: gnu: Add perl-specio. |
Date: |
Sun, 30 Jul 2017 20:11:46 -0400 (EDT) |
lfam pushed a commit to branch core-updates
in repository guix.
commit b51f02a94939e7f8a3d85b24f45fc0ea75d7c979
Author: Leo Famulari <address@hidden>
Date: Thu Jul 27 17:44:08 2017 -0400
gnu: Add perl-specio.
* gnu/packages/perl.scm (perl-specio): New variable.
---
gnu/packages/perl.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index d24eec3..c8ea0fd 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5868,6 +5868,38 @@ compact.")
arrays by one or multiple calculated keys.")
(license (package-license perl))))
+(define-public perl-specio
+ (package
+ (name "perl-specio")
+ (version "0.38")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
+ "Specio-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1s5xd9awwrzc94ymimjkxqs6jq513wwlmwwarxaklvg2hk4lps0l"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-devel-stacktrace" ,perl-devel-stacktrace)
+ ("perl-eval-closure" ,perl-eval-closure)
+ ("perl-module-runtime" ,perl-module-runtime)
+ ("perl-mro-compat" ,perl-mro-compat)
+ ("perl-role-tiny" ,perl-role-tiny)
+ ("perl-test-fatal" ,perl-test-fatal)
+ ("perl-test-needs" ,perl-test-needs)))
+ (home-page "http://search.cpan.org/dist/Specio/")
+ (synopsis "Classes for representing type constraints and coercion")
+ (description "The Specio distribution provides classes for representing
type
+constraints and coercion, along with syntax sugar for declaring them. Note
that
+this is not a proper type system for Perl. Nothing in this distribution will
+magically make the Perl interpreter start checking a value's type on assignment
+to a variable. In fact, there's no built-in way to apply a type to a variable
at
+all. Instead, you can explicitly check a value against a type, and optionally
+coerce values to that type.")
+ (license artistic2.0)))
+
(define-public perl-spiffy
(package
(name "perl-spiffy")
- branch core-updates updated (9dab501 -> 6484e82), Leo Famulari, 2017/07/30
- 01/22: gnu: Add perl-file-sharedir-dist., Leo Famulari, 2017/07/30
- 02/22: gnu: Add perl-importer., Leo Famulari, 2017/07/30
- 03/22: gnu: Add perl-specio.,
Leo Famulari <=
- 05/22: gnu: Add perl-sub-info., Leo Famulari, 2017/07/30
- 04/22: gnu: Add perl-term-table., Leo Famulari, 2017/07/30
- 07/22: gnu: Add perl-test2-plugin-nowarnings., Leo Famulari, 2017/07/30
- 10/22: gnu: perl-cpan-meta-check: Update to 0.014., Leo Famulari, 2017/07/30
- 11/22: gnu: perl-file-sharedir: Update to 1.104., Leo Famulari, 2017/07/30
- 15/22: gnu: perl-datetime-event-local: Update to 0.13., Leo Famulari, 2017/07/30
- 09/22: gnu: Add perl-params-validationcompiler., Leo Famulari, 2017/07/30
- 12/22: gnu: perl-file-sharedir-install: Update to 0.11., Leo Famulari, 2017/07/30
- 06/22: gnu: Add perl-test2-bundle-extended., Leo Famulari, 2017/07/30
- 08/22: gnu: Add perl-test-file-sharedir-dist., Leo Famulari, 2017/07/30