2010-06-05 12:40:23 +01:00
|
|
|
{stdenv, fetchurl, bzip2}:
|
2004-11-29 21:17:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-06-05 12:40:23 +01:00
|
|
|
name = "bsdiff-4.3";
|
2004-11-29 21:17:29 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2010-06-05 12:40:23 +01:00
|
|
|
url = http://www.daemonology.net/bsdiff/bsdiff-4.3.tar.gz;
|
|
|
|
sha256 = "0j2zm3z271x5aw63mwhr3vymzn45p2vvrlrpm9cz2nywna41b0hq";
|
2004-11-29 21:17:29 +00:00
|
|
|
};
|
2010-06-05 12:40:23 +01:00
|
|
|
buildInputs = [ bzip2 ];
|
|
|
|
patchPhase = ''
|
|
|
|
sed 's/^\.//g' -i Makefile
|
|
|
|
'';
|
2004-11-29 21:17:29 +00:00
|
|
|
}
|