-
Notifications
You must be signed in to change notification settings - Fork 6
/
quartus-versions.nix
78 lines (58 loc) · 2.23 KB
/
quartus-versions.nix
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
{ stdenv, fetchurl, utillinux, file, bash, glibc, pkgsi686Linux, writeScript
, nukeReferences, glibcLocales, libfaketime, coreutils, gnugrep, gnused, proot
, requireFile
# Runtime libraries:
, zlib, glib, libpng12, freetype, libSM, libICE, libXrender, fontconfig
, libXext, libX11, libXtst, gtk2, bzip2, libelf, libXi
}:
let
sources = import ./sources.nix { inherit fetchurl requireFile; };
buildQuartus = import ./generic.nix {
inherit
stdenv fetchurl utillinux file bash glibc pkgsi686Linux writeScript
nukeReferences glibcLocales libfaketime coreutils gnugrep gnused proot
# Runtime libraries:
zlib glib libpng12 freetype libSM libICE libXrender fontconfig
libXext libX11 libXtst gtk2 bzip2 libelf libXi;
};
mkCommonQuartus = srcAttrs:
buildQuartus {
inherit (srcAttrs) baseName prettyName is32bitPackage;
version = srcAttrs.version;
components = with srcAttrs.components; [
quartus cyclone cyclonev
];
#updateComponents = with srcAttrs.updates.components; [
# quartus
#];
};
in rec {
inherit sources;
altera-quartus-ii-web-13 =
mkCommonQuartus sources.v13.web_edition;
altera-quartus-ii-subscription-13 =
mkCommonQuartus sources.v13.subscription_edition;
altera-quartus-ii-web-14 =
mkCommonQuartus sources.v14.web_edition;
altera-quartus-ii-subscription-14 =
mkCommonQuartus sources.v14.subscription_edition;
altera-quartus-prime-lite-15 =
mkCommonQuartus sources.v15.lite_edition;
altera-quartus-prime-standard-15 =
mkCommonQuartus sources.v15.standard_edition;
altera-quartus-prime-lite-16 =
mkCommonQuartus sources.v16.lite_edition;
altera-quartus-prime-standard-16 =
mkCommonQuartus sources.v16.standard_edition;
altera-quartus-prime-lite-17 =
mkCommonQuartus sources.v17.lite_edition;
altera-quartus-prime-standard-17 =
mkCommonQuartus sources.v17.standard_edition;
altera-quartus-prime-lite-18 =
mkCommonQuartus sources.v18.lite_edition;
altera-quartus-prime-standard-18 =
mkCommonQuartus sources.v16.standard_edition;
# Aliases to latest versions
altera-quartus-prime-lite = altera-quartus-prime-lite-18;
altera-quartus-prime-standard = altera-quartus-prime-standard-18;
}