pythonPackages.gbulb: init at 0.6.3

main
marius david 2 years ago
parent 67f6146500
commit 009eb36cc8
  1. 43
      pkgs/development/python-modules/gbulb/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pygobject3
, pytestCheckHook
, gtk3
, gobject-introspection
}:
buildPythonPackage rec {
pname = "gbulb";
version = "0.6.3";
src = fetchFromGitHub {
owner = "beeware";
repo = "gbulb";
rev = "v${version}";
sha256 = "sha256-QNpZf1zfe6r6MtmYMWSrXPsXm5iX36oMx4GnXiTYPaQ=";
};
propagatedBuildInputs = [
pygobject3
];
checkInputs = [
pytestCheckHook
gtk3
gobject-introspection
];
disabledTests = [
"test_glib_events.TestBaseGLibEventLoop" # Somtimes fail due to imprecise timing
];
pythonImportsCheck = [ "gbulb" ];
meta = with lib; {
description = "GLib implementation of PEP 3156";
homepage = "https://github.com/beeware/gbulb";
license = licenses.asl20;
maintainers = with maintainers; [ marius851000 ];
};
}

@ -3255,6 +3255,8 @@ in {
gbinder-python = callPackage ../development/python-modules/gbinder-python { };
gbulb = callPackage ../development/python-modules/gbulb { };
gcovr = callPackage ../development/python-modules/gcovr { };
gcsfs = callPackage ../development/python-modules/gcsfs { };

Loading…
Cancel
Save