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";
|
2019-02-15 22:37:21 +00:00
|
|
|
version = "1.3.6";
|
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";
|
2019-02-15 22:37:21 +00:00
|
|
|
sha256 = "1j9fzxpgmb4rxxyl9jcf84zvznhgi3hnh4hg5vb0qaslxkvng8ii";
|
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";
|
2019-02-15 23:20:19 +00:00
|
|
|
homepage = https://github.com/python-llfuse/python-llfuse;
|
2017-10-29 14:57:39 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|