diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-02-04 19:08:28 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-02-04 19:08:28 +0000 |
commit | df0800e91d15c77ee1138327b0491ccce1ba297c (patch) | |
tree | 307730b8d540a5588037afac9844c396ffceecf7 /pkgs/os-specific | |
parent | b8c1641515feb234ec443f0af787af433b736130 (diff) | |
parent | 4193cac8de47eb56d13c014b3ef56720fdc68da3 (diff) |
Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19825
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/dmtcp/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/dmtcp/default.nix b/pkgs/os-specific/linux/dmtcp/default.nix new file mode 100644 index 0000000000000..5c786f6172cf2 --- /dev/null +++ b/pkgs/os-specific/linux/dmtcp/default.nix @@ -0,0 +1,45 @@ +{stdenv, fetchurl, perl, python}: + +# Perl and python are needed in order to run the test suite. + +let + pname = "dmtcp"; + version = "1.1.3"; +in + +stdenv.mkDerivation { + name = "${pname}-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/${pname}/${pname}_${version}.tar.gz"; + sha256 = "0lx455hvxqa9rj83nms9mi6v5klswsrgj8hxhidhi9i2qkx88158"; + }; + + 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"; + }; +} |