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-05-05 22:20:20 +02:00
parent 68474bb1ff
commit 7d535edec5
89 changed files with 143 additions and 50 deletions
+7 -4
View File
@@ -33,10 +33,6 @@ stdenv.mkDerivation rec {
sha256 = "sha256-sDALvPDALfWBKhCjy45P/3I7q5LAjJegqQwWfPVDr/A=";
};
passthru = {
updateScript = gnome3.updateScript { packageName = pname; };
};
nativeBuildInputs = [
gettext
gobject-introspection
@@ -80,6 +76,13 @@ stdenv.mkDerivation rec {
patchShebangs src/box_drawing_generate.sh
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
homepage = "https://www.gnome.org/";
description = "A library implementing a terminal emulator widget for GTK";