Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 834 B view raw
1{ lib, buildPythonPackage, fetchPypi, pkg-config, fuse3, trio, pytestCheckHook, pytest-trio, which }: 2 3buildPythonPackage rec { 4 pname = "pyfuse3"; 5 version = "3.2.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "45f0053ad601b03a36e2c283a5271403674245a66a0daf50e3deaab0ea4fa82f"; 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 14 buildInputs = [ fuse3 ]; 15 16 propagatedBuildInputs = [ trio ]; 17 18 checkInputs = [ 19 pytestCheckHook 20 pytest-trio 21 which 22 fuse3 23 ]; 24 25 # Checks if a /usr/bin directory exists, can't work on NixOS 26 disabledTests = [ "test_listdir" ]; 27 28 meta = with lib; { 29 description = "Python 3 bindings for libfuse 3 with async I/O support"; 30 homepage = "https://github.com/libfuse/pyfuse3"; 31 license = licenses.lgpl2Plus; 32 maintainers = with maintainers; [ nyanloutre ]; 33 }; 34}