1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 lzfse, 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 = [ "liblzfse" ]; 25 26 meta = with lib; { 27 description = "Python bindings for LZFSE"; 28 homepage = "https://github.com/ydkhatri/pyliblzfse"; 29 license = licenses.mit; 30 maintainers = [ ]; 31 }; 32}