1{
2 stdenv,
3 lib,
4 buildPythonPackage,
5 fetchPypi,
6 pkg-config,
7 fuse,
8}:
9
10buildPythonPackage rec {
11 pname = "fuse-python";
12 version = "1.0.7";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-MhiAY2UkCM1HKuu2+S0135LIu0IAk3H4yJJ7s35r3Rs=";
18 };
19
20 buildInputs = [ fuse ];
21 nativeBuildInputs = [ pkg-config ];
22
23 # no tests implemented
24 doCheck = false;
25
26 pythonImportsCheck = [ "fuse" ];
27
28 meta = with lib; {
29 broken = stdenv.isDarwin;
30 description = "Python bindings for FUSE";
31 homepage = "https://github.com/libfuse/python-fuse";
32 license = licenses.lgpl21;
33 maintainers = with maintainers; [ psyanticy ];
34 };
35}