nixpkgs/pkgs/development/python-modules/llfuse/default.nix

35 lines
878 B
Nix
Raw Normal View History

{ stdenv, fetchurl, buildPythonPackage, pkgconfig, pytest, fuse, attr, which
, contextlib2
}:
buildPythonPackage rec {
pname = "llfuse";
2017-12-30 11:24:20 +00:00
version = "1.3.2";
name = pname + "-" + version;
src = fetchurl {
url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
2017-12-30 11:24:20 +00:00
sha256 = "96252a286a2be25810904d969b330ef2a57c2b9c18c5b503bbfbae40feb2bb63";
};
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 ];
};
}