diff options
author | Paul Garlick <pgarlick@tourbillion-technology.com> | 2020-03-30 18:53:56 +0100 |
---|---|---|
committer | Paul Garlick <pgarlick@tourbillion-technology.com> | 2020-03-31 17:47:04 +0100 |
commit | e3f892ae915d876a0332254852fcaadb9a458289 (patch) | |
tree | 435d587f2d56f6e3ffc96a1d42eec018bcb26378 /gnu/packages/perl.scm | |
parent | f83674aa465e76e37ad17b7c2b5574b086aad6cf (diff) | |
download | guix-e3f892ae915d876a0332254852fcaadb9a458289.tar guix-e3f892ae915d876a0332254852fcaadb9a458289.tar.gz |
gnu: Add perl-devel-callchecker.
* gnu/packages/perl.scm (perl-devel-callchecker): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c16c79cde7..c27404fa23 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2824,6 +2824,39 @@ format of RSS 1.0. It can be used to parse these formats in order to create the appropriate objects.") (license (package-license perl)))) +(define-public perl-devel-callchecker + (package + (name "perl-devel-callchecker") + (version "0.008") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/Z/ZE/ZEFRAM/Devel-CallChecker-" + version ".tar.gz")) + (sha256 + (base32 + "1p0ij2k2i81zhl7064h9ghld1w5xy2zsbghkpdzm2hjryl5lwn2x")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (propagated-inputs + `(("perl-b-hooks-op-check" ,perl-b-hooks-op-check) + ("perl-dynaloader-functions" ,perl-dynaloader-functions))) + (home-page "https://metacpan.org/release/Devel-CallChecker") + (synopsis "Custom op checking attached to subroutines") + (description "This module makes some new features of the Perl +5.14.0 C API available to XS modules running on older versions of +Perl. The features are centred around the function +@code{cv_set_call_checker}, which allows XS code to attach a magical +annotation to a Perl subroutine, resulting in resolvable calls to that +subroutine being mutated at compile time by arbitrary C code. This +module makes @code{cv_set_call_checker} and several supporting +functions available.") + (license perl-license))) + (define-public perl-devel-caller (package (name "perl-devel-caller") |