gnome3: support new versioning scheme in the update script

https://discourse.gnome.org/t/new-gnome-versioning-scheme/4235
This commit is contained in:
Jan Tojnar
2021-03-21 00:57:24 +01:00
parent 68474bb1ff
commit 7d535edec5
89 changed files with 143 additions and 50 deletions

View File

@@ -23,13 +23,6 @@ buildPythonPackage rec {
++ lib.optionals stdenv.isDarwin [ which ncurses ];
propagatedBuildInputs = [ pycairo cairo ];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "python3.pkgs.${pname}3";
};
};
meta = with lib; {
homepage = "https://pygobject.readthedocs.io/";
description = "Python bindings for Glib";

View File

@@ -25,6 +25,7 @@ buildPythonPackage rec {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "python3.pkgs.${pname}3";
versionPolicy = "odd-unstable";
};
};