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