* Merged the stdenv branch
(https://svn.nixos.org/repos/nix/nixpkgs/branches/stdenv-updates -r10966:12061). svn path=/nixpkgs/trunk/; revision=12073
This commit is contained in:
@@ -7,18 +7,18 @@ stdenv.mkDerivation {
|
||||
sha256 = "0sh2kz90z47yfa9786dyn3q9ba1xcmjvd65rykvm7mg5apnrg27h";
|
||||
};
|
||||
|
||||
phases="installPhase";
|
||||
installPhase="python setup.py install --prefix=\$out || fail
|
||||
sed -i \$out/bin/rdiff-backup -e \\
|
||||
\"/import sys/ asys.path += [ \\\"\$out/lib/python2.4/site-packages/\\\" ]\"
|
||||
|
||||
";
|
||||
phases = "installPhase";
|
||||
installPhase = ''
|
||||
python setup.py install --prefix=$out
|
||||
sed -i $out/bin/rdiff-backup -e \
|
||||
"/import sys/ asys.path += [ \"$out/lib/python2.4/site-packages/\" ]"
|
||||
'';
|
||||
|
||||
buildInputs = [python librsync gnused ];
|
||||
|
||||
meta = {
|
||||
description = "backup system trying to combine best a mirror and an incremental backup system";
|
||||
homepage = http://rdiff-backup.nongnu.org/;
|
||||
license = "GPL-2";
|
||||
};
|
||||
description = "backup system trying to combine best a mirror and an incremental backup system";
|
||||
homepage = http://rdiff-backup.nongnu.org/;
|
||||
license = "GPL-2";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user