Skip to content

Commit eda82bd

Browse files
crystal: drop versions from before 2024 (#381772)
2 parents 631654e + 4c2c01b commit eda82bd

File tree

3 files changed

+5
-47
lines changed

3 files changed

+5
-47
lines changed

pkgs/development/compilers/crystal/default.nix

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,16 @@
1010
, git
1111
, gmp
1212
, hostname
13-
, libatomic_ops
1413
, libevent
1514
, libiconv
1615
, libxml2
1716
, libyaml
1817
, libffi
19-
, llvmPackages_13
2018
, llvmPackages_15
2119
, llvmPackages_18
2220
, makeWrapper
2321
, openssl
2422
, pcre2
25-
, pcre
2623
, pkg-config
2724
, installShellFiles
2825
, readline
@@ -154,7 +151,7 @@ let
154151
nativeBuildInputs = [ binary makeWrapper which pkg-config llvmPackages.llvm installShellFiles ];
155152
buildInputs = [
156153
boehmgc
157-
(if lib.versionAtLeast version "1.8" then pcre2 else pcre)
154+
pcre2
158155
libevent
159156
libyaml
160157
zlib
@@ -245,16 +242,6 @@ let
245242
});
246243
in
247244
rec {
248-
binaryCrystal_1_2 = genericBinary {
249-
version = "1.2.2";
250-
sha256s = {
251-
x86_64-linux = "sha256-sW5nhihW/6Dkq95i3vJNWs2D1CtQhujhxVbgQCAas6E=";
252-
aarch64-darwin = "sha256-4VB4yYGl1/YeYSsHOZq7fdeQ8IQMfloAPhEU0iKrvxs=";
253-
x86_64-darwin = "sha256-4VB4yYGl1/YeYSsHOZq7fdeQ8IQMfloAPhEU0iKrvxs=";
254-
aarch64-linux = "sha256-QgPKUDFyodqY1+b85AybSpbbr0RmfISdNpB08Wf34jo=";
255-
};
256-
};
257-
258245
binaryCrystal_1_10 = genericBinary {
259246
version = "1.10.1";
260247
sha256s = {
@@ -265,35 +252,6 @@ rec {
265252
};
266253
};
267254

268-
crystal_1_2 = generic {
269-
version = "1.2.2";
270-
sha256 = "sha256-nyOXhsutVBRdtJlJHe2dALl//BUXD1JeeQPgHU4SwiU=";
271-
binary = binaryCrystal_1_2;
272-
llvmPackages = llvmPackages_13;
273-
extraBuildInputs = [ libatomic_ops ];
274-
};
275-
276-
crystal_1_7 = generic {
277-
version = "1.7.3";
278-
sha256 = "sha256-ULhLGHRIZbsKhaMvNhc+W74BwNgfEjHcMnVNApWY+EE=";
279-
binary = binaryCrystal_1_2;
280-
llvmPackages = llvmPackages_13;
281-
};
282-
283-
crystal_1_8 = generic {
284-
version = "1.8.2";
285-
sha256 = "sha256-YAORdipzpC9CrFgZUFlFfjzlJQ6ZeA2ekVu8IfPOxR8=";
286-
binary = binaryCrystal_1_2;
287-
llvmPackages = llvmPackages_15;
288-
};
289-
290-
crystal_1_9 = generic {
291-
version = "1.9.2";
292-
sha256 = "sha256-M1oUFs7/8ljszga3StzLOLM1aA4fSfVPQlsbuDHGd84=";
293-
binary = binaryCrystal_1_2;
294-
llvmPackages = llvmPackages_15;
295-
};
296-
297255
crystal_1_11 = generic {
298256
version = "1.11.2";
299257
sha256 = "sha256-BBEDWqFtmFUNj0kuGBzv71YHO3KjxV4d2ySTCD4HhLc=";

pkgs/top-level/aliases.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ mapAliases {
250250
cpp-ipfs-api = cpp-ipfs-http-client; # Project has been renamed. Added 2022-05-15
251251
crispyDoom = crispy-doom; # Added 2023-05-01
252252
crossLibcStdenv = stdenvNoLibc; # Added 2024-09-06
253+
crystal_1_2 = throw "'crystal_1_2' has been removed as it is obsolete and no longer used in the tree. Consider using 'crystal' instead"; # Added 2025-02-13
254+
crystal_1_7 = throw "'crystal_1_7' has been removed as it is obsolete and no longer used in the tree. Consider using 'crystal' instead"; # Added 2025-02-13
255+
crystal_1_8 = throw "'crystal_1_8' has been removed as it is obsolete and no longer used in the tree. Consider using 'crystal' instead"; # Added 2025-02-13
256+
crystal_1_9 = throw "'crystal_1_9' has been removed as it is obsolete and no longer used in the tree. Consider using 'crystal' instead"; # Added 2025-02-13
253257
clash-geoip = throw "'clash-geoip' has been removed. Consider using 'dbip-country-lite' instead."; # added 2024-10-19
254258
clash-verge = throw "'clash-verge' has been removed, as it was broken and unmaintained. Consider using 'clash-verge-rev' or 'clash-nyanpasu' instead"; # Added 2024-09-17
255259
clasp = clingo; # added 2022-12-22

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5704,10 +5704,6 @@ with pkgs;
57045704
};
57055705

57065706
inherit (darwin.apple_sdk_11_0.callPackage ../development/compilers/crystal { })
5707-
crystal_1_2
5708-
crystal_1_7
5709-
crystal_1_8
5710-
crystal_1_9
57115707
crystal_1_11
57125708
crystal_1_12
57135709
crystal_1_14

0 commit comments

Comments
 (0)