gcr_4: Switch to new version policy

It uses SemVer with `micro >= 90` being considered unstable.

https://gitlab.gnome.org/GNOME/gcr/-/tree/4.3.90.3#versions
This commit is contained in:
Jan Tojnar
2025-01-18 15:29:07 +01:00
parent ab19cc4c38
commit 3d80561071
+3 -2
View File
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/gcr/${lib.versions.majorMinor version}/gcr-${version}.tar.xz";
hash = "sha256-w+6HKOQ2SwOX9DX6IPkvkBqxOdKyZPTgWdZ7PA9DzTY=";
};
@@ -103,7 +103,8 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
attrPath = "gcr_4";
packageName = pname;
packageName = "gcr";
versionPolicy = "ninety-micro-unstable";
};
};