dmtcp: 2.3.1 -> 2.5.0

This commit is contained in:
Jörg Thalheim 2017-03-06 21:34:12 +01:00
parent f8ad48ea1d
commit 46ba5acd82
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -1,18 +1,24 @@
{stdenv, fetchurl, perl, python}: { stdenv, fetchFromGitHub }:
# Perl and Python required by the test suite.
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dmtcp-${version}"; name = "dmtcp-${version}";
version = "2.5.0";
version = "2.3.1"; src = fetchFromGitHub {
owner = "dmtcp";
buildInputs = [ perl python ]; repo = "dmtcp";
rev = version;
src = fetchurl { sha256 = "08l774i8yp41j6kmzhj7x13475m5kdfhn678ydpm5cbg4l3dda3c";
url = "mirror://sourceforge/dmtcp/dmtcp-${version}.tar.gz";
sha256 = "1f83ae112e102d4fbf69dded0dfaa6daeb60c4c0c569297553785a876e95ba15";
}; };
dontDisableStatic = true;
postPatch = ''
substituteInPlace configure \
--replace '#define ELF_INTERPRETER "$interp"' \
"#define ELF_INTERPRETER \"$(cat $NIX_CC/nix-support/dynamic-linker)\""
'';
preConfigure = '' preConfigure = ''
substituteInPlace src/dmtcp_coordinator.cpp \ substituteInPlace src/dmtcp_coordinator.cpp \
--replace /bin/bash ${stdenv.shell} --replace /bin/bash ${stdenv.shell}