blob: 5e0d22ea6655a8013efe6a404d61623b7e9fe89a (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
pkg-config,
setuptools,
fuse,
}:
buildPythonPackage rec {
pname = "fuse-python";
version = "1.0.9";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "fuse_python";
hash = "sha256-ntWVd8NqshjXAKooOfAh8SwlKzVxhgV1crmOGbwqhYk=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail 'pkg-config' "${stdenv.cc.targetPrefix}pkg-config"
'';
nativeBuildInputs = [ pkg-config ];
build-system = [ setuptools ];
buildInputs = [ fuse ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "fuse" ];
meta = {
broken = stdenv.hostPlatform.isDarwin;
description = "Python bindings for FUSE";
homepage = "https://github.com/libfuse/python-fuse";
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ psyanticy ];
};
}
|