Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 632 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, lzfse 5, pytestCheckHook 6}: 7buildPythonPackage rec { 8 pname = "pyliblzfse"; 9 version = "0.4.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "bb0b899b3830c02fdf3dbde48ea59611833f366fef836e5c32cf8145134b7d3d"; 14 }; 15 16 preBuild = '' 17 rm -r lzfse 18 ln -s ${lzfse.src} lzfse 19 ''; 20 21 # no tests 22 doCheck = false; 23 24 pythonImportsCheck = [ 25 "liblzfse" 26 ]; 27 28 meta = with lib; { 29 description = "Python bindings for LZFSE"; 30 homepage = "https://github.com/ydkhatri/pyliblzfse"; 31 license = licenses.mit; 32 maintainers = teams.determinatesystems.members; 33 }; 34}