blob: 4c192b43f666ea4f902ff022a40852c6595a1fff (
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
47
|
{
stdenv,
lib,
buildPythonPackage,
fetchFromGitHub,
pygobject3,
pytestCheckHook,
gtk3,
gobject-introspection,
}:
buildPythonPackage rec {
pname = "gbulb";
version = "0.6.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "beeware";
repo = "gbulb";
rev = "refs/tags/v${version}";
hash = "sha256-03Ott+V3Y4+Y72Llsug5coqG3C+pjAdLkPYbaY/6Uow=";
};
propagatedBuildInputs = [
pygobject3
gtk3
];
nativeCheckInputs = [
pytestCheckHook
gobject-introspection
];
disabledTests = [
"test_glib_events.TestBaseGLibEventLoop" # Somtimes fail due to imprecise timing
];
pythonImportsCheck = [ "gbulb" ];
meta = with lib; {
broken = stdenv.isDarwin;
description = "GLib implementation of PEP 3156";
homepage = "https://github.com/beeware/gbulb";
license = licenses.asl20;
maintainers = with maintainers; [ marius851000 ];
};
}
|