perlPackages.MNI-Perllib: init at 0.08

This commit is contained in:
Ben Darwin 2017-09-24 18:19:52 -04:00
parent e7d447ce2c
commit 61864898f3
3 changed files with 37 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -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

View File

@ -8983,6 +8983,10 @@ let self = _self // overrides; _self = with self; {
}; };
}; };
MNI-Perllib = import ../development/perl-modules/MNI {
inherit buildPerlPackage fetchFromGitHub stdenv perl;
};
ModernPerl = buildPerlPackage { ModernPerl = buildPerlPackage {
name = "Modern-Perl-1.20140107"; name = "Modern-Perl-1.20140107";
src = fetchurl { src = fetchurl {