mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add perl-specio.
* gnu/packages/perl.scm (perl-specio): New variable.
This commit is contained in:
parent
df4fc5217f
commit
b51f02a949
1 changed files with 32 additions and 0 deletions
|
@ -5868,6 +5868,38 @@ (define-public perl-sort-key
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue