3
0
Fork 0
forked from mirrors/nixpkgs

perl-MouseXGetopt: fix Perl 5.22 build

Also rename attribute (keeping old as redirect).
This commit is contained in:
Robert Helgesson 2016-04-24 21:55:39 +02:00
parent 620eb5e308
commit 095e57ab76

View file

@ -8222,13 +8222,15 @@ let self = _self // overrides; _self = with self; {
};
};
MouseXGetOpt = buildPerlModule {
name = "mousex-getopt-0.36";
MouseXGetOpt = self.MouseXGetopt;
MouseXGetopt = buildPerlModule rec {
name = "MouseX-Getopt-0.36";
src = fetchurl {
url = mirror://cpan/authors/id/G/GF/GFUJI/MouseX-Getopt-0.36.tar.gz;
url = "mirror://cpan/authors/id/G/GF/GFUJI/${name}.tar.gz";
sha256 = "172ab0609f1638c6d8800d2dff1bdaa044e305aaa2e9b1fbb8a9dc722a3bf430";
};
buildInputs = [ MouseXConfigFromFile MouseXSimpleConfig TestException TestWarn ];
buildInputs = [ ModuleBuild Mouse MouseXConfigFromFile MouseXSimpleConfig TestException TestWarn ];
propagatedBuildInputs = [ GetoptLongDescriptive Mouse ];
meta = {
homepage = https://github.com/gfx/mousex-getopt;