1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
nixpkgs/pkgs/development/python-modules/fusepy/default.nix
R. RyanTM 47a082dbab python36Packages.fusepy: 2.0.4 -> 3.0.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-fusepy/versions
2018-10-24 07:00:51 -07:00

38 lines
824 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;
};
}