2017-10-29 14:57:39 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, pytest, fuse, attr, which
|
|
|
|
, contextlib2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "llfuse";
|
2018-10-06 11:56:18 +01:00
|
|
|
version = "1.3.5";
|
2017-11-09 11:26:09 +00:00
|
|
|
name = pname + "-" + version;
|
2017-10-29 14:57:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
|
2018-10-06 11:56:18 +01:00
|
|
|
sha256 = "6e412a3d9be69162d49b8a4d6fb3c343d1c1fba847f4535d229e0ece2548ead8";
|
2017-10-29 14:57:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-01-05 10:54:27 +00:00
|
|
|
buildInputs = [ fuse ];
|
|
|
|
checkInputs = [ pytest attr which ];
|
2017-10-29 14:57:39 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ contextlib2 ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
2019-01-05 10:54:27 +00:00
|
|
|
py.test -k "not test_listdir"
|
2017-10-29 14:57:39 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python bindings for the low-level FUSE API";
|
|
|
|
homepage = https://code.google.com/p/python-llfuse/;
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|