1{ stdenv, fetchurl, buildPythonPackage, pkgconfig, pytest, fuse, attr, which
2, contextlib2
3}:
4
5buildPythonPackage rec {
6 pname = "llfuse";
7 version = "1.3.2";
8 name = pname + "-" + version;
9
10 src = fetchurl {
11 url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
12 sha256 = "96252a286a2be25810904d969b330ef2a57c2b9c18c5b503bbfbae40feb2bb63";
13 };
14
15 nativeBuildInputs = [ pkgconfig ];
16 buildInputs = [ pytest fuse attr which ];
17
18 propagatedBuildInputs = [ contextlib2 ];
19
20 checkPhase = ''
21 py.test
22 '';
23
24 # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin'
25 doCheck = false;
26
27 meta = with stdenv.lib; {
28 description = "Python bindings for the low-level FUSE API";
29 homepage = https://code.google.com/p/python-llfuse/;
30 license = licenses.lgpl2Plus;
31 platforms = platforms.unix;
32 maintainers = with maintainers; [ bjornfor ];
33 };
34}