From 2513af2d28b09246d9e288bf87bfcc3ead7c263a Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 14 Oct 2024 21:01:34 +0800 Subject: [PATCH] python3.pkgs.gbulb: Remove https://hydra.nixos.org/build/274565679/nixlog/2 https://github.com/beeware/gbulb/commit/bd925dcf43a5384ad4ed03d13fc34743eb4a744d 5d125adb76a28f09 takes care the only revdep of this package. --- .../python-modules/gbulb/default.nix | 54 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 pkgs/development/python-modules/gbulb/default.nix diff --git a/pkgs/development/python-modules/gbulb/default.nix b/pkgs/development/python-modules/gbulb/default.nix deleted file mode 100644 index 7dd4d3a2c126..000000000000 --- a/pkgs/development/python-modules/gbulb/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - stdenv, - lib, - buildPythonPackage, - fetchFromGitHub, - setuptools-scm, - pygobject3, - pytestCheckHook, - gtk3, - gobject-introspection, -}: - -buildPythonPackage rec { - pname = "gbulb"; - version = "0.6.5"; - pyproject = true; - - src = fetchFromGitHub { - owner = "beeware"; - repo = "gbulb"; - rev = "refs/tags/v${version}"; - hash = "sha256-03Ott+V3Y4+Y72Llsug5coqG3C+pjAdLkPYbaY/6Uow="; - }; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "==" ">=" - ''; - - build-system = [ setuptools-scm ]; - - dependencies = [ pygobject3 ]; - - buildInputs = [ gtk3 ]; - - nativeCheckInputs = [ - pytestCheckHook - gobject-introspection - ]; - - disabledTests = [ - "test_glib_events.TestBaseGLibEventLoop" # Somtimes fail due to imprecise timing - ]; - - pythonImportsCheck = [ "gbulb" ]; - - meta = with lib; { - broken = stdenv.hostPlatform.isDarwin; - description = "GLib implementation of PEP 3156"; - homepage = "https://github.com/beeware/gbulb"; - license = licenses.asl20; - maintainers = with maintainers; [ marius851000 ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index d590c94b5cdf..70c1fc783f3d 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -228,6 +228,7 @@ mapAliases ({ fritzprofiles = throw "fritzprofiles was removed from nixpkgs, because it was removed as dependency of home-assistant for which it was pacakged."; # added 2024-01-05 garages-amsterdam = throw "garages-amsterdam has been renamed odp-amsterdam."; # added 2023-01-04 garminconnect-ha = garminconnect; # added 2022-02-05 + gbulb = throw "gbulb has been removed as it is unmaintained and no longer compatible with PyGObject 3.50."; # added 2024-10-14 gcs-oauth2-boto-plugin = throw "gcs-oauth2-boto-plugin was removed as it depends on the removed boto package"; # Added 2024-09-22 gdtoolkit = throw "gdtoolkit has been promoted to a top-level attribute name: `pkgs.gdtoolkit`"; # added 2023-02-15 GeoIP = geoip; # added 2023-02-19 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b0d9ca65a2fe..234fe3095912 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4889,8 +4889,6 @@ self: super: with self; { gbinder-python = callPackage ../development/python-modules/gbinder-python { }; - gbulb = callPackage ../development/python-modules/gbulb { }; - gcal-sync = callPackage ../development/python-modules/gcal-sync { }; gcodepy = callPackage ../development/python-modules/gcodepy { };