Skip to content

Commit c4a47d4

Browse files
committed
1 parent 2f41b5e commit c4a47d4

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

pkgs/by-name/gn/gnome-terminal/package.nix

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
stdenv,
33
lib,
4-
fetchFromGitLab,
4+
fetchurl,
55
meson,
66
ninja,
77
pkg-config,
88
python3,
99
libxml2,
10-
gitUpdater,
10+
gnome,
1111
nautilus,
1212
glib,
1313
gtk4,
@@ -30,14 +30,11 @@
3030

3131
stdenv.mkDerivation (finalAttrs: {
3232
pname = "gnome-terminal";
33-
version = "3.54.2";
33+
version = "3.54.3";
3434

35-
src = fetchFromGitLab {
36-
domain = "gitlab.gnome.org";
37-
owner = "GNOME";
38-
repo = "gnome-terminal";
39-
rev = finalAttrs.version;
40-
hash = "sha256-81dOdmIwa3OmuUTciTlearqic6bFMfiX1nvoIxJCt/M=";
35+
src = fetchurl {
36+
url = "mirror://gnome/sources/gnome-terminal/${lib.versions.majorMinor finalAttrs.version}/gnome-terminal-${finalAttrs.version}.tar.xz";
37+
hash = "sha256-Oa8AueYadNjN8oFSvq/uUTwyfhIjoHfRMcR5xQT0pHU=";
4138
};
4239

4340
nativeBuildInputs = [
@@ -78,8 +75,9 @@ stdenv.mkDerivation (finalAttrs: {
7875
'';
7976

8077
passthru = {
81-
updateScript = gitUpdater {
82-
odd-unstable = true;
78+
updateScript = gnome.updateScript {
79+
packageName = "gnome-terminal";
80+
versionPolicy = "odd-unstable";
8381
};
8482

8583
tests = {

0 commit comments

Comments
 (0)