2017-10-29 15:57:39 +01:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, pytest, fuse, attr, which
|
|
|
|
, contextlib2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 12:26:09 +01:00
|
|
|
pname = "llfuse";
|
2019-02-15 23:37:21 +01:00
|
|
|
version = "1.3.6";
|
2017-10-29 15:57:39 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://pypi/l/llfuse/${pname}-${version}.tar.bz2";
|
2019-02-15 23:37:21 +01:00
|
|
|
sha256 = "1j9fzxpgmb4rxxyl9jcf84zvznhgi3hnh4hg5vb0qaslxkvng8ii";
|
2017-10-29 15:57:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-01-05 11:54:27 +01:00
|
|
|
buildInputs = [ fuse ];
|
|
|
|
checkInputs = [ pytest attr which ];
|
2017-10-29 15:57:39 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ contextlib2 ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
2019-01-05 11:54:27 +01:00
|
|
|
py.test -k "not test_listdir"
|
2017-10-29 15:57:39 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python bindings for the low-level FUSE API";
|
2019-02-16 00:20:19 +01:00
|
|
|
homepage = https://github.com/python-llfuse/python-llfuse;
|
2017-10-29 15:57:39 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|