blob: 8ae440409b26d9637cc20bd38ed5029af0971669 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
let
# adapted from https://github.com/andrewwutw/build-djgpp/blob/master/script/12.1.0
gccVersion = "12.2.0";
binutilsVersion = "230";
djcrxVersion = "205";
djlsrVersion = "205";
djdevVersion = "205";
gmpVersion = "6.2.1";
mpfrVersion = "4.1.0";
mpcVersion = "1.2.1";
autoconfVersion = "2.69";
automakeVersion = "1.15.1";
djgppFtpMirror = "https://www.mirrorservice.org/sites/ftp.delorie.com/pub";
gnuFtpMirror = "https://www.mirrorservice.org/sites/ftp.gnu.org/gnu";
in
{ fetchFromGitHub, fetchurl }: {
inherit gccVersion;
src = fetchFromGitHub {
owner = "andrewwutw";
repo = "build-djgpp";
rev = "0dc28365825f853c3cc6ad0d8f10f8570bed5828";
hash = "sha256-L7ROTbnd/Ry/E9cP0N+l0y0cUzkkbC5B2aU9/r3rLQg=";
};
autoconf = fetchurl {
url = "${gnuFtpMirror}/autoconf/autoconf-${autoconfVersion}.tar.xz";
hash = "sha256-ZOvOyfisWySHElqGp3YNJZGsnh09vVlIljP53mKldoQ=";
};
automake = fetchurl {
url = "${gnuFtpMirror}/Automake/automake-${automakeVersion}.tar.xz";
hash = "sha256-r2ujkUIiBofFAPebSqLxgdmyTk+NjsSXzqS6JsZL7a8=";
};
binutils = fetchurl {
url = "${djgppFtpMirror}/djgpp/deleted/v2gnu/bnu${binutilsVersion}s.zip";
hash = "sha256-DSFQyFvswmP5/qYXbesFmUJ9tqEFJpILb0mGclfpXX0=";
};
djcrossgcc = fetchurl {
url = "${djgppFtpMirror}/djgpp/rpms/djcross-gcc-${gccVersion}/djcross-gcc-${gccVersion}.tar.bz2";
hash = "sha256-UL+wkeNv3LCQog0JigShIyBM7qJRqvN58Zitmti/BZM=";
};
djcrx = fetchurl {
url = "${djgppFtpMirror}/djgpp/current/v2/djcrx${djcrxVersion}.zip";
hash = "sha256-IidO2NXuV898zxYfXhaE/RwBkgaHJKfTThveFoBBymA=";
};
djdev = fetchurl {
url = "${djgppFtpMirror}/djgpp/current/v2/djdev${djdevVersion}.zip";
hash = "sha256-RVfftsFh0yZoCuX6cfAJisSUJaGxG5CgILgxYutwXdo=";
};
djlsr = fetchurl {
url = "${djgppFtpMirror}/djgpp/current/v2/djlsr${djlsrVersion}.zip";
hash = "sha256-gGkLbkT/i8bGCB/KH0+uuhWRxEkLdu8OyLNYR7ql3uo=";
};
gcc = fetchurl {
url = "${gnuFtpMirror}/gcc/gcc-${gccVersion}/gcc-${gccVersion}.tar.xz";
hash = "sha256-5UnPnPNZSgDie2WJ1DItcOByDN0hPzm+tBgeBpJiMP8=";
};
gmp = fetchurl {
url = "${gnuFtpMirror}/gmp/gmp-${gmpVersion}.tar.xz";
hash = "sha256-/UgpkSzd0S+EGBw0Ucx1K+IkZD6H+sSXtp7d2txJtPI=";
};
mpc = fetchurl {
url = "${gnuFtpMirror}/mpc/mpc-${mpcVersion}.tar.gz";
hash = "sha256-F1A9LDld/PEGtiLcFCaDwRmUMdCVNnxqrLpu7DA0BFk=";
};
mpfr = fetchurl {
url = "${gnuFtpMirror}/mpfr/mpfr-${mpfrVersion}.tar.xz";
hash = "sha256-DJij8XMv9spOppBVIHnanFl4ctMOluwoQU7iPJVVin8=";
};
}
|