16 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-GLGuTFdTA16XnXKSBD7ET963a8xH9EG/JfPNu6/3DOg=";
32 substituteInPlace setup.py \
33 --replace "'pkg-config'" "'$(command -v $PKG_CONFIG)'"
42 buildInputs = [ fuse3 ];
44 propagatedBuildInputs = [ trio ];
47 ${python.pythonOnBuildForHost.interpreter} setup.py build_cython
57 # Checks if a /usr/bin directory exists, can't work on NixOS
58 disabledTests = [ "test_listdir" ];
60 pythonImportsCheck = [
66 description = "Python 3 bindings for libfuse 3 with async I/O support";
67 homepage = "https://github.com/libfuse/pyfuse3";
68 license = licenses.lgpl2Plus;
69 maintainers = with maintainers; [ nyanloutre dotlambda ];
70 changelog = "https://github.com/libfuse/pyfuse3/blob/${version}/Changes.rst";