mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 12:02:47 +00:00
04d74baeb0
* Remove patch 'dont_check_uid' that was introduced to allow building hol_light binaries under root, but we will avoid it in the future). svn path=/nixpkgs/trunk/; revision=26062
42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{stdenv, fetchurl, perl, python}:
|
|
# Perl and Python required by the test suite.
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "dmtcp-${version}";
|
|
|
|
version = "1.2.0";
|
|
|
|
buildInputs = [ perl python ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/dmtcp/dmtcp_${version}.tar.gz";
|
|
sha256 = "1pw3m4l1xf887xagd0yrrnb35s372j0kvjziyy3gmx9fxpga1jzb";
|
|
};
|
|
|
|
preConfigure = ''
|
|
substituteInPlace dmtcp/src/dmtcp_coordinator.cpp \
|
|
--replace /bin/bash /bin/sh
|
|
substituteInPlace utils/gdb-add-symbol-file \
|
|
--replace /bin/bash /bin/sh
|
|
substituteInPlace test/autotest.py \
|
|
--replace /usr/bin/env $(type -p env) \
|
|
--replace /bin/bash $(type -p bash) \
|
|
--replace /usr/bin/perl $(type -p perl) \
|
|
--replace /usr/bin/python $(type -p python)
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Distributed MultiThreaded Checkpointing";
|
|
longDescription = ''
|
|
DMTCP (Distributed MultiThreaded Checkpointing) is a tool to
|
|
transparently checkpointing the state of an arbitrary group of
|
|
programs spread across many machines and connected by sockets. It does
|
|
not modify the user's program or the operating system.
|
|
'';
|
|
homepage = http://dmtcp.sourceforge.net/;
|
|
license = "LGPL";
|
|
};
|
|
}
|