Skip to content

Commit af4af3f

Browse files
committed
1 parent b68acc5 commit af4af3f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

pkgs/by-name/ai/aisleriot/package.nix

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
stdenv,
33
lib,
4-
fetchFromGitLab,
5-
gitUpdater,
4+
fetchurl,
65
pkg-config,
76
itstool,
87
gtk3,
@@ -15,18 +14,16 @@
1514
libcanberra-gtk3,
1615
ninja,
1716
yelp-tools,
17+
gnome,
1818
}:
1919

2020
stdenv.mkDerivation (finalAttrs: {
2121
pname = "aisleriot";
22-
version = "3.22.34";
22+
version = "3.22.35";
2323

24-
src = fetchFromGitLab {
25-
domain = "gitlab.gnome.org";
26-
owner = "GNOME";
27-
repo = "aisleriot";
28-
rev = finalAttrs.version;
29-
hash = "sha256-XaEyh1ZXBvW/4tfuQyEFzvnE2Vv7+4lTUfeXoSCMnHM=";
24+
src = fetchurl {
25+
url = "mirror://gnome/sources/aisleriot/${lib.versions.majorMinor finalAttrs.version}/aisleriot-${finalAttrs.version}.tar.xz";
26+
hash = "sha256-AeYEzXAJo2wMXxVCSpBORvg2LDBrpfa8cfrIpedGO/A=";
3027
};
3128

3229
nativeBuildInputs = [
@@ -57,7 +54,9 @@ stdenv.mkDerivation (finalAttrs: {
5754
mesonFlags = [ "-Dtheme_kde=false" ];
5855

5956
passthru = {
60-
updateScript = gitUpdater { };
57+
updateScript = gnome.updateScript {
58+
packageName = "aisleriot";
59+
};
6160
};
6261

6362
meta = with lib; {

0 commit comments

Comments
 (0)