Skip to content

Commit

Permalink
pythonPackages.bsdiff4: init at 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle authored and Jon committed Aug 3, 2020
1 parent f26cbd0 commit 56f2d53
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/python-modules/bsdiff4/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 56f2d53

Please sign in to comment.