git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #105137 from zakame/contrib/perl-App-cpm

perlPackages.Appcpm: init at 0.994

commitdc2c340793693f9e5d968c03bec15633194982ab authorStigP <stig@stig.io> dateFri 27 Nov 2020, 14:09 (6 years ago) parent05d408eabe1271
1 file changed+21
pkgs/top-level/perl-packages.nix+21
pkgs/top-level/perl-packages.nix+21
@@ -596,6 +596,27 @@ let
596596 };
597597 };
598598
599+ Appcpm = buildPerlModule {
600+ pname = "App-cpm";
601+ version = "0.994";
602+ src = fetchurl {
603+ url = "mirror://cpan/authors/id/S/SK/SKAJI/App-cpm-0.994.tar.gz";
604+ sha256 = "4242ecb64aaae09034eddb1b338e005567ace29f2ac2d1bca4d4bcf4e15d21c4";
605+ };
606+ buildInputs = [ ModuleBuildTiny ];
607+ propagatedBuildInputs = [ CPANCommonIndex CPANDistnameInfo ClassTiny CommandRunner ExtUtilsInstallPaths FileCopyRecursive Filepushd HTTPTinyish MenloLegacy ModuleCPANfile ParallelPipes locallib ];
608+ nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
609+ postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
610+ shortenPerlShebang $out/bin/cpm
611+ '';
612+ meta = {
613+ homepage = "https://github.com/skaji/cpm";
614+ description = "A fast CPAN module installer";
615+ license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
616+ maintainers = [ maintainers.zakame ];
617+ };
618+ };
619+
599620 Applify = buildPerlPackage {
600621 pname = "Applify";
601622 version = "0.21";