2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-08-03 21:20:38 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, aflplusplus
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bsdiff4";
|
|
|
|
version = "1.2.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "17fc0dd4204x5gqapvbrc4kv83jdajs00jxm739586pl0iapybrw";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
mv bsdiff4 _bsdiff4
|
|
|
|
python -c 'import bsdiff4; bsdiff4.test()'
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-08-03 21:20:38 +01:00
|
|
|
description = "binary diff and patch using the BSDIFF4-format";
|
|
|
|
homepage = "https://github.com/ilanschnell/bsdiff4";
|
|
|
|
license = licenses.bsdProtection;
|
|
|
|
maintainers = with maintainers; [ ris ];
|
|
|
|
};
|
|
|
|
}
|