Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / gbulb / default.nix
blobd36d1182f55ffcc1f36db07ef32639edad9360cf
1 { stdenv
2 , lib
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pygobject3
6 , pytestCheckHook
7 , gtk3
8 , gobject-introspection
9 }:
11 buildPythonPackage rec {
12   pname = "gbulb";
13   version = "0.6.4";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "beeware";
18     repo = "gbulb";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-AdZSvxix0cpoFQSrslGl+hB/s6Nh0EsWMQmXZAJVJOg=";
21   };
23   propagatedBuildInputs = [
24     pygobject3
25     gtk3
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30     gobject-introspection
31   ];
33   disabledTests = [
34     "test_glib_events.TestBaseGLibEventLoop" # Somtimes fail due to imprecise timing
35   ];
37   pythonImportsCheck = [ "gbulb" ];
39   meta = with lib; {
40     broken = stdenv.isDarwin;
41     description = "GLib implementation of PEP 3156";
42     homepage = "https://github.com/beeware/gbulb";
43     license = licenses.asl20;
44     maintainers = with maintainers; [ marius851000 ];
45   };