marst,libidn2,mdk: remove duplicate /gnu in the url

there urls only worked with "https://ftpmirror.gnu.org/" because it
ignored the extra /gnu

while with the other gnu mirrors "https://ftp.nluug.nl/pub/gnu/" it
failed because the url would be pub/gnu/gnu.
This commit is contained in:
Artturin 2023-03-11 19:23:13 +02:00
parent 0c4800d579
commit 7ba82dc81e
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
version = "2.7";
src = fetchurl {
url = "mirror://gnu/gnu/${pname}/${pname}-${version}.tar.gz";
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-Pue50cvjzZ+19iJxfae7VQbxpto7MPgS4jhLh7zk2lA=";
};

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
version = "2.3.2";
src = fetchurl {
url = "mirror://gnu/gnu/libidn/${pname}-${version}.tar.gz";
url = "mirror://gnu/libidn/${pname}-${version}.tar.gz";
sha256 = "sha256-dpQM1Od46Ak1eanRlbJf/16Tbp3GJCBoUotDenZ2T5E=";
};

View File

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
pname = "gnu-mdk";
version = "1.3.0";
src = fetchurl {
url = "mirror://gnu/gnu/mdk/v${version}/mdk-${version}.tar.gz";
url = "mirror://gnu/mdk/v${version}/mdk-${version}.tar.gz";
sha256 = "0bhk3c82kyp8167h71vdpbcr852h5blpnwggcswqqwvvykbms7lb";
};
nativeBuildInputs = [ pkg-config intltool ];