1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 lzfse,
6}:
7buildPythonPackage rec {
8 pname = "pyliblzfse";
9 version = "0.4.1";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "bb0b899b3830c02fdf3dbde48ea59611833f366fef836e5c32cf8145134b7d3d";
15 };
16
17 preBuild = ''
18 rm -r lzfse
19 ln -s ${lzfse.src} lzfse
20 '';
21
22 # no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "liblzfse" ];
26
27 meta = with lib; {
28 description = "Python bindings for LZFSE";
29 homepage = "https://github.com/ydkhatri/pyliblzfse";
30 license = licenses.mit;
31 maintainers = [ ];
32 };
33}