diff options
author | Ben Darwin <bcdarwin@gmail.com> | 2017-09-24 18:19:52 -0400 |
---|---|---|
committer | Ben Darwin <bcdarwin@gmail.com> | 2018-04-09 18:06:33 -0400 |
commit | 61864898f3221de40d6ed9fc1a1ec1c64fd01329 (patch) | |
tree | 0fd4d0e2b171e74056a2fab4491a39e1cb82f70d /pkgs/development/perl-modules/MNI | |
parent | e7d447ce2c86dd1d97d03a274348afce15c9afed (diff) |
perlPackages.MNI-Perllib: init at 0.08
Diffstat (limited to 'pkgs/development/perl-modules/MNI')
-rw-r--r-- | pkgs/development/perl-modules/MNI/default.nix | 20 | ||||
-rw-r--r-- | pkgs/development/perl-modules/MNI/no-stdin.patch | 13 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/MNI/default.nix b/pkgs/development/perl-modules/MNI/default.nix new file mode 100644 index 0000000000000..806c7703c889b --- /dev/null +++ b/pkgs/development/perl-modules/MNI/default.nix @@ -0,0 +1,20 @@ +{ fetchFromGitHub, buildPerlPackage, stdenv, perl }: + +buildPerlPackage rec { + name = "MNI-Perllib-0.08"; + + src = fetchFromGitHub { + owner = "BIC-MNI"; + repo = "mni-perllib"; + rev = "b908472b4390180ea5d19a121ac5edad6ed88d83"; + sha256 = "0vk99pwgbard62k63386r7dpnm3h435jdqywr4xqfq7p04dz6kyb"; + }; + + patches = [ ./no-stdin.patch ]; + + doCheck = false; # TODO: almost all tests fail ... is this a real problem? + + meta = { + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + }; +} diff --git a/pkgs/development/perl-modules/MNI/no-stdin.patch b/pkgs/development/perl-modules/MNI/no-stdin.patch new file mode 100644 index 0000000000000..1e9e791257e7f --- /dev/null +++ b/pkgs/development/perl-modules/MNI/no-stdin.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.PL b/Makefile.PL +index 9f2039a..12d699c 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -213,7 +213,7 @@ TEXT + } # &MY::postamble + + +-query_subs; ++#query_subs; + + my $f; + WriteMakefile |