1 { stdenv, lib, makeWrapper, perl, perlPackages }:
4 name = "nix-generate-from-cpan-3";
6 nativeBuildInputs = [ makeWrapper ];
8 buildInputs = with perlPackages; [
9 perl GetoptLongDescriptive CPANPLUS Readonly LogLog4perl
16 cp ${./nix-generate-from-cpan.pl} $out/bin/nix-generate-from-cpan
17 patchShebangs $out/bin/nix-generate-from-cpan
18 wrapProgram $out/bin/nix-generate-from-cpan --set PERL5LIB $PERL5LIB
22 maintainers = with lib.maintainers; [ eelco ];
23 description = "Utility to generate a Nix expression for a Perl package from CPAN";
24 mainProgram = "nix-generate-from-cpan";
25 platforms = lib.platforms.unix;