git.iko.soy/typeable/nixpkgs
on master help sign in
perlPackages.MetaCPANClient: init at 2.026000
commit19f7be374bfb77ad792eef68d750a42e3af3a3d8 authorStig Palmquist <stig@stig.io> dateMon 6 Jul 2020, 15:41 (6 years ago) parent3c1b3a0
1 file changed+25
pkgs/top-level/perl-packages.nix+25
pkgs/top-level/perl-packages.nix+25
@@ -11685,6 +11685,31 @@ let
1168511685 };
1168611686 };
1168711687
11688+ MetaCPANClient = buildPerlPackage {
11689+ pname = "MetaCPAN-Client";
11690+ version = "2.026000";
11691+ src = fetchurl {
11692+ url = "mirror://cpan/authors/id/M/MI/MICKEY/MetaCPAN-Client-2.026000.tar.gz";
11693+ sha256 = "ee711619d59655dac1bd2e4b894ffeb3171bd73b1ed38ba4b7b07d3690f94465";
11694+ };
11695+
11696+ # Most tests are online, so we only include offline tests
11697+ postPatch = ''
11698+ substituteInPlace Makefile.PL \
11699+ --replace '"t/*.t t/api/*.t"' \
11700+ '"t/00-report-prereqs.t t/api/_get.t t/api/_get_or_search.t t/api/_search.t t/entity.t t/request.t t/resultset.t"'
11701+ '';
11702+
11703+ buildInputs = [ LWPProtocolhttps TestFatal TestNeeds ];
11704+ propagatedBuildInputs = [ IOSocketSSL JSONMaybeXS Moo NetSSLeay RefUtil SafeIsa TypeTiny URI ];
11705+ meta = {
11706+ homepage = "https://github.com/metacpan/metacpan-client";
11707+ description = "A comprehensive, DWIM-featured client to the MetaCPAN API";
11708+ license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
11709+ maintainers = with maintainers; [ sgo ];
11710+ };
11711+ };
11712+
1168811713 MethodSignaturesSimple = buildPerlPackage {
1168911714 pname = "Method-Signatures-Simple";
1169011715 version = "1.07";