git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.gbulb: init at 0.6.3
commit009eb36cc8c88bb7bb9f6b777b47668908eedebf authormarius david <mariusdavid@laposte.net> dateSat 5 Mar 2022, 22:21 (5 years ago) parent67f6146
2 files changed+45
pkgs/development/python-modules/gbulb/default.nix+43 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/gbulb/default.nixnew file+43
@@ -0,0 +1,43 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, pygobject3
5+, pytestCheckHook
6+, gtk3
7+, gobject-introspection
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "gbulb";
12+ version = "0.6.3";
13+
14+ src = fetchFromGitHub {
15+ owner = "beeware";
16+ repo = "gbulb";
17+ rev = "v${version}";
18+ sha256 = "sha256-QNpZf1zfe6r6MtmYMWSrXPsXm5iX36oMx4GnXiTYPaQ=";
19+ };
20+
21+ propagatedBuildInputs = [
22+ pygobject3
23+ ];
24+
25+ checkInputs = [
26+ pytestCheckHook
27+ gtk3
28+ gobject-introspection
29+ ];
30+
31+ disabledTests = [
32+ "test_glib_events.TestBaseGLibEventLoop" # Somtimes fail due to imprecise timing
33+ ];
34+
35+ pythonImportsCheck = [ "gbulb" ];
36+
37+ meta = with lib; {
38+ description = "GLib implementation of PEP 3156";
39+ homepage = "https://github.com/beeware/gbulb";
40+ license = licenses.asl20;
41+ maintainers = with maintainers; [ marius851000 ];
42+ };
43+}
pkgs/top-level/python-packages.nix+2
@@ -3255,6 +3255,8 @@ in {
32553255
32563256 gbinder-python = callPackage ../development/python-modules/gbinder-python { };
32573257
3258+ gbulb = callPackage ../development/python-modules/gbulb { };
3259+
32583260 gcovr = callPackage ../development/python-modules/gcovr { };
32593261
32603262 gcsfs = callPackage ../development/python-modules/gcsfs { };