summary refs log tree commit diff
path: root/pkgs/development/python-modules/llfuse/default.nix
blob: 6a49735840442f3de17e8f4e39d106ee3b3935ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, fetchurl, buildPythonPackage, pkgconfig, pytest, fuse, attr, which
, contextlib2
}:

buildPythonPackage rec {
  pname = "llfuse";
  version = "1.3.6";

  src = fetchurl {
    url = "mirror://pypi/l/llfuse/${pname}-${version}.tar.bz2";
    sha256 = "1j9fzxpgmb4rxxyl9jcf84zvznhgi3hnh4hg5vb0qaslxkvng8ii";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ fuse ];
  checkInputs = [ pytest attr which ];

  propagatedBuildInputs = [ contextlib2 ];

  checkPhase = ''
    py.test -k "not test_listdir"
  '';

  meta = with stdenv.lib; {
    description = "Python bindings for the low-level FUSE API";
    homepage = https://github.com/python-llfuse/python-llfuse;
    license = licenses.lgpl2Plus;
    platforms = platforms.unix;
    maintainers = with maintainers; [ bjornfor ];
  };
}