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