aboutsummaryrefslogtreecommitdiff
path: root/pkgs/stardict
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/stardict')
-rw-r--r--pkgs/stardict/cz.nix8
-rw-r--r--pkgs/stardict/de-cz.nix8
-rw-r--r--pkgs/stardict/en-cz.nix8
3 files changed, 12 insertions, 12 deletions
diff --git a/pkgs/stardict/cz.nix b/pkgs/stardict/cz.nix
index 0ce4100..2df19bc 100644
--- a/pkgs/stardict/cz.nix
+++ b/pkgs/stardict/cz.nix
@@ -3,13 +3,13 @@
stdenvNoCC,
fetchurl,
}:
-stdenvNoCC.mkDerivation rec {
+stdenvNoCC.mkDerivation (attrs: {
pname = "stardict-cz";
version = "20171101";
src = fetchurl {
- url = "https://dl.cihar.com/slovnik/stable/stardict-czech-${version}.tar.gz";
- sha256 = "14kch0cms3d77js2kyx7risadlzk3waig22gch59qp9y86b9w0zz";
+ url = "https://dl.cihar.com/slovnik/stable/stardict-czech-${attrs.version}.tar.gz";
+ hash = "sha256-/wOelkE+XZwKZE+IFxUf89OmdMyn+ym0PKcNXRmAbJI=";
};
installPhase = ''
@@ -22,4 +22,4 @@ stdenvNoCC.mkDerivation rec {
homepage = "http://slovnik.zcu.cz/";
license = licenses.gpl3;
};
-}
+})
diff --git a/pkgs/stardict/de-cz.nix b/pkgs/stardict/de-cz.nix
index 93f0744..ab41257 100644
--- a/pkgs/stardict/de-cz.nix
+++ b/pkgs/stardict/de-cz.nix
@@ -3,13 +3,13 @@
stdenvNoCC,
fetchurl,
}:
-stdenvNoCC.mkDerivation rec {
+stdenvNoCC.mkDerivation (attrs: {
pname = "stardict-de-cz";
version = "20200501";
src = fetchurl {
- url = "http://dl.cihar.com/slovnik/stable/stardict-german-czech-${version}.tar.gz";
- sha256 = "1d91pmflaz9zgblalk9b2ib6idj6akm64wvslmzsydwn738n6va2";
+ url = "http://dl.cihar.com/slovnik/stable/stardict-german-czech-${attrs.version}.tar.gz";
+ hash = "sha256-Qm1j0TiWN69/pXpzYupURrZoVhQrTaroej99RV29IbU=";
};
installPhase = ''
@@ -23,4 +23,4 @@ stdenvNoCC.mkDerivation rec {
homepage = "http://slovnik.zcu.cz/";
license = licenses.gpl3;
};
-}
+})
diff --git a/pkgs/stardict/en-cz.nix b/pkgs/stardict/en-cz.nix
index ead1a31..6c0f393 100644
--- a/pkgs/stardict/en-cz.nix
+++ b/pkgs/stardict/en-cz.nix
@@ -3,13 +3,13 @@
stdenvNoCC,
fetchurl,
}:
-stdenvNoCC.mkDerivation rec {
+stdenvNoCC.mkDerivation (attrs: {
pname = "stardict-en-cz";
version = "20210401";
src = fetchurl {
- url = "http://dl.cihar.com/slovnik/stable/stardict-english-czech-${version}.tar.gz";
- sha256 = "1rh2ybqwzw258g4d4aydc587mbqqq7m7fzkxq9kf3b7x9xqzx6ia";
+ url = "http://dl.cihar.com/slovnik/stable/stardict-english-czech-${attrs.version}.tar.gz";
+ hash = "sha256-Kpr+cU/9rOFmwn1+d+rBGK96UGHNK9LIQ0Xwz/HyAuY=";
};
installPhase = ''
@@ -23,4 +23,4 @@ stdenvNoCC.mkDerivation rec {
homepage = "http://slovnik.zcu.cz/";
license = licenses.gpl3;
};
-}
+})