8 buildPythonPackage rec {
11 format = "setuptools";
14 inherit pname version;
15 sha256 = "1gg69qfi9pjcic3g98l8ya64rw2vc1bp8gsf76my6gglq8z7izvj";
18 propagatedBuildInputs = [ pkgs.fuse ];
23 # On macOS, users are expected to install macFUSE. This means fusepy should
24 # be able to find libfuse in /usr/local/lib.
25 patchPhase = lib.optionalString (!stdenv.isDarwin) ''
26 substituteInPlace fuse.py --replace \
27 "find_library('fuse')" "'${pkgs.fuse}/lib/libfuse.so'"
31 description = "Simple ctypes bindings for FUSE";
33 Python module that provides a simple interface to FUSE and MacFUSE.
34 It's just one file and is implemented using ctypes.
36 homepage = "https://github.com/terencehonles/fusepy";
37 license = licenses.isc;
38 platforms = platforms.unix;