Loading pkgs/desktops/gnome-2/bindings/gnome-python-desktop/default.nixdeleted 100644 → 0 +0 −32 Original line number Diff line number Diff line { lib, stdenv, fetchurl, gnome_python, librsvg, libwnck2, libgtop, pkg-config, python2, gtk2 }: let inherit (python2.pkgs) python pygtk; in stdenv.mkDerivation rec { ver_maj = "2.32"; ver_min = "0"; version = "${ver_maj}.${ver_min}"; pname = "gnome-python-desktop"; src = fetchurl { url = "mirror://gnome/sources/gnome-python-desktop/${ver_maj}/gnome-python-desktop-${version}.tar.bz2"; sha256 = "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ gtk2 librsvg libwnck2 libgtop python ]; propagatedBuildInputs = [ gnome_python pygtk ]; # gnome-python-desktop expects that .pth file is already installed by PyGTK # in the same directory. This is not the case for Nix. postInstall = '' echo "gtk-2.0" > $out/${python2.sitePackages}/${pname}-${version}.pth ''; meta = with lib; { homepage = "http://www.pygtk.org"; description = "Python bindings for GNOME desktop packages"; license = licenses.lgpl21; maintainers = [ maintainers.goibhniu ]; }; } pkgs/desktops/gnome-2/default.nix +3 −4 Original line number Diff line number Diff line Loading @@ -35,8 +35,6 @@ lib.makeScope pkgs.newScope (self: with self; { gnome_python = callPackage ./bindings/gnome-python { }; gnome_python_desktop = callPackage ./bindings/gnome-python-desktop { }; gnome_vfs = callPackage ./platform/gnome-vfs { }; libgnome = callPackage ./platform/libgnome { }; Loading Loading @@ -72,7 +70,6 @@ lib.makeScope pkgs.newScope (self: with self; { gtk = pkgs.gtk2; gtkmm = pkgs.gtkmm2; python_rsvg = self.gnome_python_desktop; gtkdoc = pkgs.gtk-doc; startup_notification = pkgs.libstartup_notification; Loading @@ -82,5 +79,7 @@ lib.makeScope pkgs.newScope (self: with self; { gnome_icon_theme = self.gnome-icon-theme; gnomeicontheme = self.gnome-icon-theme; gnome_common = gnome-common; libglademm = throw "libglademm has been removed"; # 2022-01-15 gnome_python_desktop = throw "gnome2.gnome_python_desktop has been removed"; # 2023-01-14 libglademm = throw "gnome2.libglademm has been removed"; # 2022-01-15 python_rsvg = throw "gnome2.python_rsvg has been removed"; # 2023-01-14 }) Loading
pkgs/desktops/gnome-2/bindings/gnome-python-desktop/default.nixdeleted 100644 → 0 +0 −32 Original line number Diff line number Diff line { lib, stdenv, fetchurl, gnome_python, librsvg, libwnck2, libgtop, pkg-config, python2, gtk2 }: let inherit (python2.pkgs) python pygtk; in stdenv.mkDerivation rec { ver_maj = "2.32"; ver_min = "0"; version = "${ver_maj}.${ver_min}"; pname = "gnome-python-desktop"; src = fetchurl { url = "mirror://gnome/sources/gnome-python-desktop/${ver_maj}/gnome-python-desktop-${version}.tar.bz2"; sha256 = "1s8f9rns9v7qlwjv9qh9lr8crp88dpzfm45hj47zc3ivpy0dbnq9"; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ gtk2 librsvg libwnck2 libgtop python ]; propagatedBuildInputs = [ gnome_python pygtk ]; # gnome-python-desktop expects that .pth file is already installed by PyGTK # in the same directory. This is not the case for Nix. postInstall = '' echo "gtk-2.0" > $out/${python2.sitePackages}/${pname}-${version}.pth ''; meta = with lib; { homepage = "http://www.pygtk.org"; description = "Python bindings for GNOME desktop packages"; license = licenses.lgpl21; maintainers = [ maintainers.goibhniu ]; }; }
pkgs/desktops/gnome-2/default.nix +3 −4 Original line number Diff line number Diff line Loading @@ -35,8 +35,6 @@ lib.makeScope pkgs.newScope (self: with self; { gnome_python = callPackage ./bindings/gnome-python { }; gnome_python_desktop = callPackage ./bindings/gnome-python-desktop { }; gnome_vfs = callPackage ./platform/gnome-vfs { }; libgnome = callPackage ./platform/libgnome { }; Loading Loading @@ -72,7 +70,6 @@ lib.makeScope pkgs.newScope (self: with self; { gtk = pkgs.gtk2; gtkmm = pkgs.gtkmm2; python_rsvg = self.gnome_python_desktop; gtkdoc = pkgs.gtk-doc; startup_notification = pkgs.libstartup_notification; Loading @@ -82,5 +79,7 @@ lib.makeScope pkgs.newScope (self: with self; { gnome_icon_theme = self.gnome-icon-theme; gnomeicontheme = self.gnome-icon-theme; gnome_common = gnome-common; libglademm = throw "libglademm has been removed"; # 2022-01-15 gnome_python_desktop = throw "gnome2.gnome_python_desktop has been removed"; # 2023-01-14 libglademm = throw "gnome2.libglademm has been removed"; # 2022-01-15 python_rsvg = throw "gnome2.python_rsvg has been removed"; # 2023-01-14 })