mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
perlPackages.MNI-Perllib: init at 0.08
This commit is contained in:
parent
e7d447ce2c
commit
61864898f3
20
pkgs/development/perl-modules/MNI/default.nix
Normal file
20
pkgs/development/perl-modules/MNI/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
13
pkgs/development/perl-modules/MNI/no-stdin.patch
Normal file
13
pkgs/development/perl-modules/MNI/no-stdin.patch
Normal 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
|
@ -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 {
|
||||
name = "Modern-Perl-1.20140107";
|
||||
src = fetchurl {
|
||||
|
Loading…
Reference in New Issue
Block a user