@@ -1,24 +1,32 @@
11{ lib
22, buildPythonPackage
33, fetchPypi
4+, pythonOlder
45}:
56
67buildPythonPackage rec {
78 pname = "bsdiff4";
8− version = "1.2.1";
9+ version = "1.2.2";
10+ format = "setuptools";
11+
12+ disabled = pythonOlder "3.7";
913
1014 src = fetchPypi {
1115 inherit pname version;
12− sha256 = "87cffc7522effdda03fd1564b212ad2279c0af50d16c3e65776f80acb6705d4b";
16+ hash = "sha256-GICsP1KmxGrmvMbbEX5Ps1+bDM1a91/U/uaQfQDWmDw=";
1317 };
1418
19+ pythonImportsCheck = [
20+ "bsdiff4"
21+ ];
22+
1523 checkPhase = ''
1624 mv bsdiff4 _bsdiff4
1725 python -c 'import bsdiff4; bsdiff4.test()'
1826 '';
1927
2028 meta = with lib; {
21− description = "binary diff and patch using the BSDIFF4-format";
29+ description = "Binary diff and patch using the BSDIFF4-format";
2230 homepage = "https://github.com/ilanschnell/bsdiff4";
2331 license = licenses.bsdProtection;
2432 maintainers = with maintainers; [ ris ];