3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/compression/bsdiff/default.nix
Lluís Batlle i Rossell 4328f6a1fe Updating bsdiff
svn path=/nixpkgs/trunk/; revision=22156
2010-06-05 11:40:23 +00:00

15 lines
339 B
Nix

{stdenv, fetchurl, bzip2}:
stdenv.mkDerivation {
name = "bsdiff-4.3";
builder = ./builder.sh;
src = fetchurl {
url = http://www.daemonology.net/bsdiff/bsdiff-4.3.tar.gz;
sha256 = "0j2zm3z271x5aw63mwhr3vymzn45p2vvrlrpm9cz2nywna41b0hq";
};
buildInputs = [ bzip2 ];
patchPhase = ''
sed 's/^\.//g' -i Makefile
'';
}