2021-05-20 23:08:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pkg-config, fuse3, trio, pytestCheckHook, pytest-trio, which }:
|
2020-12-09 12:39:15 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyfuse3";
|
2021-10-11 16:52:03 +00:00
|
|
|
version = "3.2.1";
|
2020-12-09 12:39:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-11 16:52:03 +00:00
|
|
|
sha256 = "22d146dac59a8429115e9a93317975ea54b35e0278044a94d3fac5b4ad5f7e33";
|
2020-12-09 12:39:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ fuse3 ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ trio ];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-trio
|
|
|
|
which
|
|
|
|
fuse3
|
|
|
|
];
|
|
|
|
|
|
|
|
# Checks if a /usr/bin directory exists, can't work on NixOS
|
|
|
|
disabledTests = [ "test_listdir" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python 3 bindings for libfuse 3 with async I/O support";
|
|
|
|
homepage = "https://github.com/libfuse/pyfuse3";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
2020-12-09 12:39:15 +00:00
|
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
|
|
};
|
|
|
|
}
|