3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.bsdiff4: init at 1.2.0

This commit is contained in:
Robert Scott 2020-08-03 21:20:38 +01:00 committed by Jon
parent f26cbd0caa
commit 56f2d53f26
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ 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 ];
};
}

View file

@ -2235,6 +2235,8 @@ in {
bsddb3 = callPackage ../development/python-modules/bsddb3 { };
bsdiff4 = callPackage ../development/python-modules/bsdiff4 { };
bkcharts = callPackage ../development/python-modules/bkcharts { };
bokeh = callPackage ../development/python-modules/bokeh { };