Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 589 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, aflplusplus 5}: 6 7buildPythonPackage rec { 8 pname = "bsdiff4"; 9 version = "1.2.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "17fc0dd4204x5gqapvbrc4kv83jdajs00jxm739586pl0iapybrw"; 14 }; 15 16 checkPhase = '' 17 mv bsdiff4 _bsdiff4 18 python -c 'import bsdiff4; bsdiff4.test()' 19 ''; 20 21 meta = with stdenv.lib; { 22 description = "binary diff and patch using the BSDIFF4-format"; 23 homepage = "https://github.com/ilanschnell/bsdiff4"; 24 license = licenses.bsdProtection; 25 maintainers = with maintainers; [ ris ]; 26 }; 27}