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