diff options
author | Marco Maggesi <maggesi@math.unifi.it> | 2010-02-13 11:02:08 +0000 |
---|---|---|
committer | Marco Maggesi <maggesi@math.unifi.it> | 2010-02-13 11:02:08 +0000 |
commit | f1f60cef0d266732a594be2106196a1d634fd7b2 (patch) | |
tree | c36b29810cfb028a038cd5a0f798079fe91d9af4 /pkgs/os-specific/linux/dmtcp | |
parent | 3615623c94f5cfd457f0ef4c8651c9dcca9d21fb (diff) | |
download | nixpkgs-f1f60cef0d266732a594be2106196a1d634fd7b2.tar nixpkgs-f1f60cef0d266732a594be2106196a1d634fd7b2.tar.gz nixpkgs-f1f60cef0d266732a594be2106196a1d634fd7b2.tar.bz2 nixpkgs-f1f60cef0d266732a594be2106196a1d634fd7b2.tar.lz nixpkgs-f1f60cef0d266732a594be2106196a1d634fd7b2.tar.xz nixpkgs-f1f60cef0d266732a594be2106196a1d634fd7b2.tar.zst nixpkgs-f1f60cef0d266732a594be2106196a1d634fd7b2.zip |
Add package dmtcp_devel
svn path=/nixpkgs/trunk/; revision=19972
Diffstat (limited to 'pkgs/os-specific/linux/dmtcp')
-rw-r--r-- | pkgs/os-specific/linux/dmtcp/devel.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/dmtcp/devel.nix b/pkgs/os-specific/linux/dmtcp/devel.nix new file mode 100644 index 00000000000..9fb3274a429 --- /dev/null +++ b/pkgs/os-specific/linux/dmtcp/devel.nix @@ -0,0 +1,45 @@ +{stdenv, fetchsvn, perl, python}: + +# Perl and python are needed in order to run the test suite. + +let + revision = "489"; +in + +stdenv.mkDerivation { + name = "dmtcp-devel-${revision}"; + + src = fetchsvn { + url = https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk; + rev = revision; + sha256 = "c21d38888553a50f401e1e49dec646b574f2014121e1186949f909c51e4911ed"; + }; + + buildInputs = [ perl python ]; + + doCheck = true; + + preCheck = '' + 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) + ''; + + 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"; + }; +} |