gnu: Add perl-devel-checklib.

* gnu/packages/perl.scm (perl-devel-checklib): New public variable.
This commit is contained in:
Tobias Geerinckx-Rice 2018-09-11 20:23:50 +02:00
parent 7ec4f648e5
commit f0314f65df
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -2626,6 +2626,30 @@ the appropriate objects.")
particular command is available.") particular command is available.")
(license (package-license perl)))) (license (package-license perl))))
(define-public perl-devel-checklib
(package
(name "perl-devel-checklib")
(version "1.13")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/M/MA/MATTN/Devel-CheckLib-"
version ".tar.gz"))
(sha256
(base32 "1a19qkwxwz3wqb16cdabymfbf9kiydiifw90nd5srpq5hy8gvb94"))))
(build-system perl-build-system)
(native-inputs
`(("perl-io-captureoutput" ,perl-io-captureoutput)
("perl-mock-config" ,perl-mock-config)))
(home-page "https://metacpan.org/release/Devel-CheckLib")
(synopsis "Check that a library is available")
(description
"@code{Devel::CheckLib} is a Perl module that checks whether a particular
C library and its headers are available. You can also check for the presence of
particular functions in a library, or even that those functions return
particular results.")
(license perl-license)))
(define-public perl-devel-checkcompiler (define-public perl-devel-checkcompiler
(package (package
(name "perl-devel-checkcompiler") (name "perl-devel-checkcompiler")