pythonPackages.llfuse: move to python-modules/

This commit is contained in:
Bjørn Forsman 2017-10-29 15:57:39 +01:00
parent 1402436395
commit adac3e43fd
2 changed files with 34 additions and 27 deletions

View File

@ -0,0 +1,32 @@
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, pytest, fuse, attr, which
, contextlib2
}:
buildPythonPackage rec {
name = "llfuse-1.0";
src = fetchurl {
url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
sha256 = "1li7q04ljrvwharw4fblcbfhvk6s0l3lnv8yqb4c22lcgbkiqlps";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ pytest fuse attr which ];
propagatedBuildInputs = [ contextlib2 ];
checkPhase = ''
py.test
'';
# FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin'
doCheck = false;
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 ];
};
}

View File

@ -10938,33 +10938,8 @@ in {
livereload = callPackage ../development/python-modules/livereload { }; livereload = callPackage ../development/python-modules/livereload { };
llfuse = buildPythonPackage rec { llfuse = callPackage ../development/python-modules/llfuse {
name = "llfuse-1.0"; fuse = pkgs.fuse; # use "real" fuse, not the python module
src = pkgs.fetchurl {
url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
sha256 = "1li7q04ljrvwharw4fblcbfhvk6s0l3lnv8yqb4c22lcgbkiqlps";
};
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = with self; [ pytest pkgs.fuse pkgs.attr pkgs.which ];
propagatedBuildInputs = with self; [ contextlib2 ];
checkPhase = ''
py.test
'';
# FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin'
doCheck = false;
meta = {
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 ];
};
}; };
locustio = buildPythonPackage rec { locustio = buildPythonPackage rec {