blob: fc8965fd3538e2a5a491bb887bd9d26af06dc54c (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pygobject3
}:
buildPythonPackage rec {
pname = "pydbus";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "LEW21";
repo = "pydbus";
rev = "refs/tags/v${version}";
hash = "sha256-F1KKXG+7dWlEbToqtF3G7wU0Sco7zH5NqzlL58jyDGw=";
};
postPatch = ''
substituteInPlace pydbus/_inspect3.py \
--replace "getargspec" "getfullargspec"
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pygobject3
];
pythonImportsCheck = [
"pydbus"
"pydbus.generic"
];
doCheck = false; # requires a working dbus setup
meta = {
homepage = "https://github.com/LEW21/pydbus";
description = "Pythonic DBus library";
license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [ ];
};
}
|