1{ stdenv, lib, buildPythonPackage, fetchPypi, pkg-config, fuse }:
2
3buildPythonPackage rec {
4 pname = "fuse-python";
5 version = "1.0.5";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-dOX/szaCu6mlrypaBI9Ht+e0ZOv4QpG/WiWL+60Do6o=";
10 };
11
12 buildInputs = [ fuse ];
13 nativeBuildInputs = [ pkg-config ];
14
15 # no tests implemented
16 doCheck = false;
17
18 pythonImportsCheck = [ "fuse" ];
19
20 meta = with lib; {
21 broken = stdenv.isDarwin;
22 description = "Python bindings for FUSE";
23 homepage = "https://github.com/libfuse/python-fuse";
24 license = licenses.lgpl21;
25 maintainers = with maintainers; [ psyanticy ];
26 };
27}