gnome2.gnome_python: remove

Unmaintained, depends on libgnome + python2

+1 -35
-33
pkgs/desktops/gnome-2/bindings/gnome-python/default.nix
··· 1 - { lib, stdenv, fetchurl, python2, pkg-config, libgnome, GConf, glib, gtk2, gnome_vfs }: 2 - 3 - with lib; 4 - 5 - let 6 - inherit (python2.pkgs) python pygobject2 pygtk dbus-python; 7 - in stdenv.mkDerivation rec { 8 - pname = "gnome-python"; 9 - version = "2.28.1"; 10 - 11 - src = fetchurl { 12 - url = "mirror://gnome/sources/gnome-python/${lib.versions.majorMinor version}/gnome-python-${version}.tar.bz2"; 13 - sha256 = "759ce9344cbf89cf7f8449d945822a0c9f317a494f56787782a901e4119b96d8"; 14 - }; 15 - 16 - nativeBuildInputs = [ pkg-config ]; 17 - buildInputs = [ python glib gtk2 GConf libgnome gnome_vfs ]; 18 - propagatedBuildInputs = [ pygobject2 pygtk dbus-python ]; 19 - 20 - # gnome-python expects that .pth file is already installed by PyGTK in the 21 - # same directory. This is not the case for Nix. 22 - postInstall = '' 23 - echo "gtk-2.0" > $out/${python2.sitePackages}/gnome-python-${version}.pth 24 - ''; 25 - 26 - meta = with lib; { 27 - homepage = "http://pygtk.org/"; 28 - description = "Python wrapper for GNOME libraries"; 29 - platforms = platforms.linux; 30 - license = licenses.lgpl2; 31 - maintainers = with maintainers; [ qknight ]; 32 - }; 33 - }
···
+1 -2
pkgs/desktops/gnome-2/default.nix
··· 33 34 gnome_mime_data = callPackage ./platform/gnome-mime-data { }; 35 36 - gnome_python = callPackage ./bindings/gnome-python { }; 37 - 38 gnome_vfs = callPackage ./platform/gnome-vfs { }; 39 40 libgnome = callPackage ./platform/libgnome { }; ··· 79 gnome_icon_theme = self.gnome-icon-theme; 80 gnomeicontheme = self.gnome-icon-theme; 81 gnome_common = gnome-common; 82 gnome_python_desktop = throw "gnome2.gnome_python_desktop has been removed"; # 2023-01-14 83 libglademm = throw "gnome2.libglademm has been removed"; # 2022-01-15 84 python_rsvg = throw "gnome2.python_rsvg has been removed"; # 2023-01-14
··· 33 34 gnome_mime_data = callPackage ./platform/gnome-mime-data { }; 35 36 gnome_vfs = callPackage ./platform/gnome-vfs { }; 37 38 libgnome = callPackage ./platform/libgnome { }; ··· 77 gnome_icon_theme = self.gnome-icon-theme; 78 gnomeicontheme = self.gnome-icon-theme; 79 gnome_common = gnome-common; 80 + gnome_python = throw "gnome2.gnome_python has been removed"; # 2023-01-14 81 gnome_python_desktop = throw "gnome2.gnome_python_desktop has been removed"; # 2023-01-14 82 libglademm = throw "gnome2.libglademm has been removed"; # 2022-01-15 83 python_rsvg = throw "gnome2.python_rsvg has been removed"; # 2023-01-14