depot/third_party/nixpkgs/pkgs/development/python-modules/bsdiff4/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

27 lines
589 B
Nix

{ stdenv
, 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()'
'';
meta = with stdenv.lib; {
description = "binary diff and patch using the BSDIFF4-format";
homepage = "https://github.com/ilanschnell/bsdiff4";
license = licenses.bsdProtection;
maintainers = with maintainers; [ ris ];
};
}