perlPackages.CPANMini: init at 1.111016

This commit is contained in:
Stig Palmquist 2020-08-01 01:18:22 +02:00
parent 5799e30813
commit 9ffc60ddea
No known key found for this signature in database
GPG key ID: DA4C335C11D70DA7

View file

@ -3535,6 +3535,27 @@ let
};
};
CPANMini = buildPerlPackage {
pname = "CPAN-Mini";
version = "1.111016";
src = fetchurl {
url = "mirror://cpan/authors/id/R/RJ/RJBS/CPAN-Mini-1.111016.tar.gz";
sha256 = "5a297afc3e367ad80811464d4eb7e4dd3caff8ba499cdd2b558f6279443a7657";
};
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
propagatedBuildInputs = [ FileHomeDir LWP LWPProtocolHttps URI ];
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/minicpan
'';
meta = {
homepage = "https://github.com/rjbs/CPAN-Mini";
description = "Create a minimal mirror of CPAN";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
maintainers = [ maintainers.sgo ];
};
};
CpanelJSONXS = buildPerlPackage {
pname = "Cpanel-JSON-XS";
version = "4.17";