python2Packages.pygobject2: move to python2-modules
This commit is contained in:
parent
c760e71626
commit
5efd8de503
4 changed files with 6 additions and 5 deletions
|
@ -7,7 +7,7 @@ buildPythonPackage rec {
|
||||||
disabled = pythonAtLeast "3.9";
|
disabled = pythonAtLeast "3.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/pygobject/2.28/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/pygobject/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0nkam61rsn7y3wik3vw46wk5q2cjfh2iph57hl9m39rc8jijb7dv";
|
sha256 = "0nkam61rsn7y3wik3vw46wk5q2cjfh2iph57hl9m39rc8jijb7dv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||||
# used to select a specific version, in our setup it should have no
|
# used to select a specific version, in our setup it should have no
|
||||||
# effect, but we leave it in case somebody expects and calls it.
|
# effect, but we leave it in case somebody expects and calls it.
|
||||||
postInstall = lib.optionalString (!isPy3k) ''
|
postInstall = lib.optionalString (!isPy3k) ''
|
||||||
mv $out/lib/${python.libPrefix}/site-packages/{pygtk.pth,${pname}-${version}.pth}
|
mv $out/${python.sitePackages}/{pygtk.pth,${pname}-${version}.pth}
|
||||||
|
|
||||||
# Prevent wrapping of codegen files as these are meant to be
|
# Prevent wrapping of codegen files as these are meant to be
|
||||||
# executed by the python program
|
# executed by the python program
|
||||||
|
@ -42,6 +42,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://pygobject.readthedocs.io/";
|
homepage = "https://pygobject.readthedocs.io/";
|
||||||
description = "Python bindings for GLib";
|
description = "Python bindings for GLib";
|
||||||
platforms = platforms.unix;
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -7918,8 +7918,6 @@ self: super: with self; {
|
||||||
|
|
||||||
pygmt = callPackage ../development/python-modules/pygmt { };
|
pygmt = callPackage ../development/python-modules/pygmt { };
|
||||||
|
|
||||||
pygobject2 = callPackage ../development/python-modules/pygobject { };
|
|
||||||
|
|
||||||
pygobject3 = callPackage ../development/python-modules/pygobject/3.nix {
|
pygobject3 = callPackage ../development/python-modules/pygobject/3.nix {
|
||||||
# inherit (pkgs) meson won't work because it won't be spliced
|
# inherit (pkgs) meson won't work because it won't be spliced
|
||||||
inherit (pkgs.buildPackages) meson;
|
inherit (pkgs.buildPackages) meson;
|
||||||
|
|
|
@ -43,6 +43,8 @@ with self; with super; {
|
||||||
inherit (pkgs.buildPackages) meson;
|
inherit (pkgs.buildPackages) meson;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pygobject2 = callPackage ../development/python2-modules/pygobject { };
|
||||||
|
|
||||||
pygtk = callPackage ../development/python2-modules/pygtk { };
|
pygtk = callPackage ../development/python2-modules/pygtk { };
|
||||||
|
|
||||||
pyparsing = callPackage ../development/python2-modules/pyparsing { };
|
pyparsing = callPackage ../development/python2-modules/pyparsing { };
|
||||||
|
|
Loading…
Reference in a new issue