From abe1271fe241674afd0b354d6aabfe3bd7e73031 Mon Sep 17 00:00:00 2001 From: "Zak B. Elep" Date: Fri, 27 Nov 2020 20:02:27 +0800 Subject: [PATCH] perlPackages.Appcpm: init at 0.994 --- pkgs/top-level/perl-packages.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 21df060b96d0..f7878f1910e0 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -596,6 +596,27 @@ let }; }; + Appcpm = buildPerlModule { + pname = "App-cpm"; + version = "0.994"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/SK/SKAJI/App-cpm-0.994.tar.gz"; + sha256 = "4242ecb64aaae09034eddb1b338e005567ace29f2ac2d1bca4d4bcf4e15d21c4"; + }; + buildInputs = [ ModuleBuildTiny ]; + propagatedBuildInputs = [ CPANCommonIndex CPANDistnameInfo ClassTiny CommandRunner ExtUtilsInstallPaths FileCopyRecursive Filepushd HTTPTinyish MenloLegacy ModuleCPANfile ParallelPipes locallib ]; + nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang; + postInstall = stdenv.lib.optionalString stdenv.isDarwin '' + shortenPerlShebang $out/bin/cpm + ''; + meta = { + homepage = "https://github.com/skaji/cpm"; + description = "A fast CPAN module installer"; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + maintainers = [ maintainers.zakame ]; + }; + }; + Applify = buildPerlPackage { pname = "Applify"; version = "0.21";