Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 824 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pkgs 5}: 6 7buildPythonPackage rec { 8 pname = "fusepy"; 9 version = "3.0.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1gg69qfi9pjcic3g98l8ya64rw2vc1bp8gsf76my6gglq8z7izvj"; 14 }; 15 16 propagatedBuildInputs = [ pkgs.fuse ]; 17 18 # No tests included 19 doCheck = false; 20 21 patchPhase = '' 22 substituteInPlace fuse.py --replace \ 23 "find_library('fuse')" "'${pkgs.fuse}/lib/libfuse.so'" 24 ''; 25 26 meta = with stdenv.lib; { 27 description = "Simple ctypes bindings for FUSE"; 28 longDescription = '' 29 Python module that provides a simple interface to FUSE and MacFUSE. 30 It's just one file and is implemented using ctypes. 31 ''; 32 homepage = https://github.com/terencehonles/fusepy; 33 license = licenses.isc; 34 platforms = platforms.unix; 35 }; 36 37}