dmtcp: major update (close #5229)
@vcunat: correct location of patched files, use license attribute, remove file with the older version.
This commit is contained in:
parent
f484050a81
commit
d013149b59
@ -4,28 +4,30 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dmtcp-${version}";
|
name = "dmtcp-${version}";
|
||||||
|
|
||||||
version = "1.2.0";
|
version = "2.3.1";
|
||||||
|
|
||||||
buildInputs = [ perl python ];
|
buildInputs = [ perl python ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/dmtcp/dmtcp_${version}.tar.gz";
|
url = "mirror://sourceforge/dmtcp/dmtcp-${version}.tar.gz";
|
||||||
sha256 = "1pw3m4l1xf887xagd0yrrnb35s372j0kvjziyy3gmx9fxpga1jzb";
|
sha256 = "1f83ae112e102d4fbf69dded0dfaa6daeb60c4c0c569297553785a876e95ba15";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace dmtcp/src/dmtcp_coordinator.cpp \
|
substituteInPlace src/dmtcp_coordinator.cpp \
|
||||||
--replace /bin/bash /bin/sh
|
--replace /bin/bash ${stdenv.shell}
|
||||||
substituteInPlace utils/gdb-add-symbol-file \
|
substituteInPlace util/gdb-add-symbol-file \
|
||||||
--replace /bin/bash /bin/sh
|
--replace /bin/bash ${stdenv.shell}
|
||||||
substituteInPlace test/autotest.py \
|
substituteInPlace test/autotest.py \
|
||||||
--replace /usr/bin/env $(type -p env) \
|
--replace /usr/bin/env $(type -p env) \
|
||||||
--replace /bin/bash $(type -p bash) \
|
--replace /bin/bash $(type -p bash) \
|
||||||
--replace /usr/bin/perl $(type -p perl) \
|
--replace /usr/bin/perl $(type -p perl) \
|
||||||
--replace /usr/bin/python $(type -p python)
|
--replace /usr/bin/python $(type -p python) \
|
||||||
|
--replace "os.environ['USER']" "\"nixbld1\"" \
|
||||||
|
--replace "os.getenv('USER')" "\"nixbld1\""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Distributed MultiThreaded Checkpointing";
|
description = "Distributed MultiThreaded Checkpointing";
|
||||||
@ -36,6 +38,6 @@ stdenv.mkDerivation rec {
|
|||||||
not modify the user's program or the operating system.
|
not modify the user's program or the operating system.
|
||||||
'';
|
'';
|
||||||
homepage = http://dmtcp.sourceforge.net/;
|
homepage = http://dmtcp.sourceforge.net/;
|
||||||
license = "LGPL";
|
license = stdenv.lib.licenses.lgpl3Plus; # most files seem this or LGPL-2.1+
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user