From 4854814042507049e01bfbc88d2b1572ca2ce3fc Mon Sep 17 00:00:00 2001 From: WORLDofPEACE Date: Sun, 20 Sep 2020 22:21:46 -0400 Subject: [PATCH] python3.pkgs.pygobject3: 3.36.1 -> 3.38.0 This no longer supports python3. We should mark projects that use python2 pygobject3 as broken. https://gitlab.gnome.org/GNOME/pygobject/-/blob/3.38.0/NEWS --- pkgs/development/python-modules/pygobject/3.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pygobject/3.nix b/pkgs/development/python-modules/pygobject/3.nix index 9e38d6403970..6e34e7f91007 100644 --- a/pkgs/development/python-modules/pygobject/3.nix +++ b/pkgs/development/python-modules/pygobject/3.nix @@ -3,21 +3,19 @@ pycairo, cairo, which, ncurses, meson, ninja, isPy3k, gnome3 }: buildPythonPackage rec { pname = "pygobject"; - version = "3.36.1"; + version = "3.38.0"; + + disabled = ! isPy3k; format = "other"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "0b9CgC0c7BE7Wtqg579/N0W0RSHcIWNYjSdtXNYdcY8="; + sha256 = "A3LRu5Ei/Bn1AKJJsfOMK7Z0hQAPWIdJe0sgWz5whNU="; }; outputs = [ "out" "dev" ]; - mesonFlags = [ - "-Dpython=python${if isPy3k then "3" else "2" }" - ]; - nativeBuildInputs = [ pkgconfig meson ninja gobject-introspection ]; buildInputs = [ glib gobject-introspection ] ++ stdenv.lib.optionals stdenv.isDarwin [ which ncurses ];