Skip to content

Commit

Permalink
crystal: drop versions from before 2024 (#381772)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Feb 19, 2025
2 parents 631654e + 4c2c01b commit eda82bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 47 deletions.
44 changes: 1 addition & 43 deletions pkgs/development/compilers/crystal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,16 @@
, git
, gmp
, hostname
, libatomic_ops
, libevent
, libiconv
, libxml2
, libyaml
, libffi
, llvmPackages_13
, llvmPackages_15
, llvmPackages_18
, makeWrapper
, openssl
, pcre2
, pcre
, pkg-config
, installShellFiles
, readline
Expand Down Expand Up @@ -154,7 +151,7 @@ let
nativeBuildInputs = [ binary makeWrapper which pkg-config llvmPackages.llvm installShellFiles ];
buildInputs = [
boehmgc
(if lib.versionAtLeast version "1.8" then pcre2 else pcre)
pcre2
libevent
libyaml
zlib
Expand Down Expand Up @@ -245,16 +242,6 @@ let
});
in
rec {
binaryCrystal_1_2 = genericBinary {
version = "1.2.2";
sha256s = {
x86_64-linux = "sha256-sW5nhihW/6Dkq95i3vJNWs2D1CtQhujhxVbgQCAas6E=";
aarch64-darwin = "sha256-4VB4yYGl1/YeYSsHOZq7fdeQ8IQMfloAPhEU0iKrvxs=";
x86_64-darwin = "sha256-4VB4yYGl1/YeYSsHOZq7fdeQ8IQMfloAPhEU0iKrvxs=";
aarch64-linux = "sha256-QgPKUDFyodqY1+b85AybSpbbr0RmfISdNpB08Wf34jo=";
};
};

binaryCrystal_1_10 = genericBinary {
version = "1.10.1";
sha256s = {
Expand All @@ -265,35 +252,6 @@ rec {
};
};

crystal_1_2 = generic {
version = "1.2.2";
sha256 = "sha256-nyOXhsutVBRdtJlJHe2dALl//BUXD1JeeQPgHU4SwiU=";
binary = binaryCrystal_1_2;
llvmPackages = llvmPackages_13;
extraBuildInputs = [ libatomic_ops ];
};

crystal_1_7 = generic {
version = "1.7.3";
sha256 = "sha256-ULhLGHRIZbsKhaMvNhc+W74BwNgfEjHcMnVNApWY+EE=";
binary = binaryCrystal_1_2;
llvmPackages = llvmPackages_13;
};

crystal_1_8 = generic {
version = "1.8.2";
sha256 = "sha256-YAORdipzpC9CrFgZUFlFfjzlJQ6ZeA2ekVu8IfPOxR8=";
binary = binaryCrystal_1_2;
llvmPackages = llvmPackages_15;
};

crystal_1_9 = generic {
version = "1.9.2";
sha256 = "sha256-M1oUFs7/8ljszga3StzLOLM1aA4fSfVPQlsbuDHGd84=";
binary = binaryCrystal_1_2;
llvmPackages = llvmPackages_15;
};

crystal_1_11 = generic {
version = "1.11.2";
sha256 = "sha256-BBEDWqFtmFUNj0kuGBzv71YHO3KjxV4d2ySTCD4HhLc=";
Expand Down
4 changes: 4 additions & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ mapAliases {
cpp-ipfs-api = cpp-ipfs-http-client; # Project has been renamed. Added 2022-05-15
crispyDoom = crispy-doom; # Added 2023-05-01
crossLibcStdenv = stdenvNoLibc; # Added 2024-09-06
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
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
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
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
clash-geoip = throw "'clash-geoip' has been removed. Consider using 'dbip-country-lite' instead."; # added 2024-10-19
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
clasp = clingo; # added 2022-12-22
Expand Down
4 changes: 0 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5704,10 +5704,6 @@ with pkgs;
};

inherit (darwin.apple_sdk_11_0.callPackage ../development/compilers/crystal { })
crystal_1_2
crystal_1_7
crystal_1_8
crystal_1_9
crystal_1_11
crystal_1_12
crystal_1_14
Expand Down

0 comments on commit eda82bd

Please sign in to comment.