tcsh: use tcsh mirrors

This commit is contained in:
AndersonTorres 2022-03-13 14:12:59 -03:00
parent 2d88a59de1
commit 7b212f90e7

View file

@ -10,17 +10,7 @@ stdenv.mkDerivation rec {
version = "6.24.00";
src = fetchurl {
urls = [
"https://astron.com/pub/tcsh/${pname}-${version}.tar.gz"
"https://astron.com/pub/tcsh/old/${pname}-${version}.tar.gz"
"http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/${pname}-${version}.tar.gz"
"http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/old/${pname}-${version}.tar.gz"
"ftp://ftp.astron.com/pub/tcsh/${pname}-${version}.tar.gz"
"ftp://ftp.astron.com/pub/tcsh/old/${pname}-${version}.tar.gz"
"ftp://ftp.funet.fi/pub/unix/shells/tcsh/${pname}-${version}.tar.gz"
"ftp://ftp.funet.fi/pub/unix/shells/tcsh/old/${pname}-${version}.tar.gz"
];
url = "mirror://tcsh/${pname}-${version}.tar.gz";
hash = "sha256-YL4sUEvY8fpuQksZVkldfnztUqKslNtf0n9La/yPdPA=";
};
@ -29,6 +19,7 @@ stdenv.mkDerivation rec {
];
patches = lib.optional stdenv.hostPlatform.isMusl
# Use system malloc
(fetchpatch {
name = "sysmalloc.patch";
url = "https://git.alpinelinux.org/aports/plain/community/tcsh/001-sysmalloc.patch?id=184585c046cdd56512f1a76e426dd799b368f8cf";