git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.pyfuse3: init at 3.1.1
commit925b70cd964ceaedee26fde9b19cc4c4f081196a authornyanloutre <paul@nyanlout.re> dateMon 7 Dec 2020, 20:35 (6 years ago) parent799e330
2 files changed+44
pkgs/development/python-modules/pyfuse3/default.nix+42 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/pyfuse3/default.nixnew file+42
@@ -0,0 +1,42 @@
1+{ lib, buildPythonPackage, fetchPypi, fetchpatch, pkg-config, fuse3, trio, pytestCheckHook, pytest-trio, which }:
2+
3+buildPythonPackage rec {
4+ pname = "pyfuse3";
5+ version = "3.1.1";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "9feb42a8639dc4815522ee6af6f7221552cfd2df1c7a7e9df96767be65e18667";
10+ };
11+
12+ patches = [
13+ # Fixes tests with pytest 6, to be removed in next stable version
14+ (fetchpatch {
15+ url = "https://github.com/libfuse/pyfuse3/commit/0070eddfc33fc2fba8eb4fe9353a2d2fa1ae575b.patch";
16+ sha256 = "0lb4x1j31ihs3qkn61x41k2vqwcjl2fp1c2qx2jg9br6yqhjmg3b";
17+ })
18+ ];
19+
20+ nativeBuildInputs = [ pkg-config ];
21+
22+ buildInputs = [ fuse3 ];
23+
24+ propagatedBuildInputs = [ trio ];
25+
26+ checkInputs = [
27+ pytestCheckHook
28+ pytest-trio
29+ which
30+ fuse3
31+ ];
32+
33+ # Checks if a /usr/bin directory exists, can't work on NixOS
34+ disabledTests = [ "test_listdir" ];
35+
36+ meta = with lib; {
37+ description = "Python 3 bindings for libfuse 3 with async I/O support";
38+ homepage = "https://github.com/libfuse/pyfuse3";
39+ license = licenses.gpl2;
40+ maintainers = with maintainers; [ nyanloutre ];
41+ };
42+}
pkgs/top-level/python-packages.nix+2
@@ -5129,6 +5129,8 @@ in {
51295129
51305130 pyfttt = callPackage ../development/python-modules/pyfttt { };
51315131
5132+ pyfuse3 = callPackage ../development/python-modules/pyfuse3 { };
5133+
51325134 pyfxa = callPackage ../development/python-modules/pyfxa { };
51335135
51345136 pygal = callPackage ../development/python-modules/pygal { };