depot/third_party/nixpkgs/pkgs/development/python-modules/fusepy/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

37 lines
826 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
}:
buildPythonPackage rec {
pname = "fusepy";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "1gg69qfi9pjcic3g98l8ya64rw2vc1bp8gsf76my6gglq8z7izvj";
};
propagatedBuildInputs = [ pkgs.fuse ];
# No tests included
doCheck = false;
patchPhase = ''
substituteInPlace fuse.py --replace \
"find_library('fuse')" "'${pkgs.fuse}/lib/libfuse.so'"
'';
meta = with stdenv.lib; {
description = "Simple ctypes bindings for FUSE";
longDescription = ''
Python module that provides a simple interface to FUSE and MacFUSE.
It's just one file and is implemented using ctypes.
'';
homepage = "https://github.com/terencehonles/fusepy";
license = licenses.isc;
platforms = platforms.unix;
};
}