1{ stdenv, fetchurl, buildPythonPackage, pkgconfig, pytest, fuse, attr, which
2, contextlib2
3}:
4
5buildPythonPackage rec {
6 pname = "llfuse";
7 version = "1.3.6";
8 name = pname + "-" + version;
9
10 src = fetchurl {
11 url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
12 sha256 = "1j9fzxpgmb4rxxyl9jcf84zvznhgi3hnh4hg5vb0qaslxkvng8ii";
13 };
14
15 nativeBuildInputs = [ pkgconfig ];
16 buildInputs = [ fuse ];
17 checkInputs = [ pytest attr which ];
18
19 propagatedBuildInputs = [ contextlib2 ];
20
21 checkPhase = ''
22 py.test -k "not test_listdir"
23 '';
24
25 meta = with stdenv.lib; {
26 description = "Python bindings for the low-level FUSE API";
27 homepage = https://github.com/python-llfuse/python-llfuse;
28 license = licenses.lgpl2Plus;
29 platforms = platforms.unix;
30 maintainers = with maintainers; [ bjornfor ];
31 };
32}