2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-16 21:09:24 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fusepy";
|
2018-10-24 15:00:51 +01:00
|
|
|
version = "3.0.1";
|
2018-10-16 21:09:24 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 15:00:51 +01:00
|
|
|
sha256 = "1gg69qfi9pjcic3g98l8ya64rw2vc1bp8gsf76my6gglq8z7izvj";
|
2018-10-16 21:09:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pkgs.fuse ];
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace fuse.py --replace \
|
|
|
|
"find_library('fuse')" "'${pkgs.fuse}/lib/libfuse.so'"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 21:09:24 +01:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/terencehonles/fusepy";
|
2018-10-16 21:09:24 +01:00
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|