Skip to content

Commit 69a71b7

Browse files
committed
1 parent c4a47d4 commit 69a71b7

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

pkgs/by-name/li/libspelling/package.nix

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
stdenv,
4-
fetchFromGitLab,
4+
fetchurl,
55
meson,
66
ninja,
77
pkg-config,
@@ -17,22 +17,19 @@
1717
gnome,
1818
}:
1919

20-
stdenv.mkDerivation rec {
20+
stdenv.mkDerivation (finalAttrs: {
2121
pname = "libspelling";
22-
version = "0.4.5";
22+
version = "0.4.6";
2323

2424
outputs = [
2525
"out"
2626
"dev"
2727
"devdoc"
2828
];
2929

30-
src = fetchFromGitLab {
31-
domain = "gitlab.gnome.org";
32-
owner = "GNOME";
33-
repo = "libspelling";
34-
rev = version;
35-
hash = "sha256-+WjhBg98s5RxQfd85FtMNuoVWjw9Hap9yDqnpYNAGgw=";
30+
src = fetchurl {
31+
url = "mirror://gnome/sources/libspelling/${lib.versions.majorMinor finalAttrs.version}/libspelling-${finalAttrs.version}.tar.xz";
32+
hash = "sha256-MkiptTNuovcn0tuRLS8Ag6zMBQXOcHZ5s9m4JmwBAfU=";
3633
};
3734

3835
nativeBuildInputs = [
@@ -69,4 +66,4 @@ stdenv.mkDerivation rec {
6966
changelog = "https://gitlab.gnome.org/GNOME/libspelling/-/raw/${version}/NEWS";
7067
maintainers = with maintainers; [ chuangzhu ] ++ teams.gnome.members;
7168
};
72-
}
69+
})

0 commit comments

Comments
 (0)