File tree Expand file tree Collapse file tree 3 files changed +13
-27
lines changed
development/compilers/mint Expand file tree Collapse file tree 3 files changed +13
-27
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 fetchFromGitHub ,
44 crystal ,
5+ libxml2 ,
56 openssl ,
67} :
78
89crystal . buildCrystalPackage rec {
910 pname = "mint" ;
10- version = "0.19 .0" ;
11+ version = "0.22 .0" ;
1112
1213 src = fetchFromGitHub {
1314 owner = "mint-lang" ;
1415 repo = "mint" ;
1516 rev = version ;
16- hash = "sha256-s/ehv8Z71nWnxpajO7eR4MxoHppqkdleFluv+e5Vv6I =" ;
17+ hash = "sha256-82Oi9UJ530rZNGa6XxC1hNvRfZQx3fTZxhfSQeZmz54 =" ;
1718 } ;
1819
1920 format = "shards" ;
@@ -23,10 +24,15 @@ crystal.buildCrystalPackage rec {
2324 # with mint's shard.lock file in the current directory
2425 shardsFile = ./shards.nix ;
2526
27+ nativeBuildInputs = [
28+ libxml2 # xmllint
29+ ] ;
30+
2631 buildInputs = [ openssl ] ;
2732
28- preConfigure = ''
29- export HOME=$(mktemp -d)
33+ preCheck = ''
34+ substituteInPlace spec/spec_helper.cr \
35+ --replace-fail "clear_env: true" "clear_env: false"
3036 '' ;
3137
3238 meta = {
Original file line number Diff line number Diff line change 66 } ;
77 ameba = {
88 url = "https://github.com/crystal-ameba/ameba.git" ;
9- rev = "v1.5.0 " ;
10- sha256 = "1idivsbpmi40aqvs82fsv37nrgikirprxrj3ls9chsb876fq9p2d " ;
9+ rev = "v1.6.4 " ;
10+ sha256 = "1kzr4ynd4r5w87y2czzrlir1dvqmv43ijm07804kgsy1g20k00fs " ;
1111 } ;
1212 ansi-escapes = {
1313 url = "https://github.com/gtramontina/ansi-escapes.cr.git" ;
1414 rev = "v1.0.0" ;
1515 sha256 = "106cy7bq0j438cfs0zqcxhj84msjj9dybxlcjr8qhs1fpm02s00b" ;
1616 } ;
17- backtracer = {
18- url = "https://github.com/sija/backtracer.cr.git" ;
19- rev = "v1.2.2" ;
20- sha256 = "1rknyylsi14m7i77x7c3138wdw27i4f6sd78m3srw851p47bwr20" ;
21- } ;
2217 baked_file_system = {
2318 url = "https://github.com/schovi/baked_file_system.git" ;
2419 rev = "v0.10.0" ;
2924 rev = "v1.0.0" ;
3025 sha256 = "00pdawysns1w1iqwh6j3shilpwh41ljz1chsqkacn6dj2yn21n0r" ;
3126 } ;
32- exception_page = {
33- url = "https://github.com/crystal-loot/exception_page.git" ;
34- rev = "v0.3.1" ;
35- sha256 = "00fpkhwaf94mz9d9qiinsa7hdbs3x2yqjwwzvbjwv86dv8s5008n" ;
36- } ;
37- kemal = {
38- url = "https://github.com/kemalcr/kemal.git" ;
39- rev = "v1.4.0" ;
40- sha256 = "0pmcnbfzb0bqrnwbqikci4j0hbxsabmkz8a879vprf5gswnr7b63" ;
41- } ;
4227 markd = {
4328 url = "https://github.com/icyleaf/markd.git" ;
4429 rev = "v0.5.0" ;
4530 sha256 = "1a677z57kwjq6lp4ws7br1ga8jgpgi8990glhd1r8756bdyd8mg0" ;
4631 } ;
47- radix = {
48- url = "https://github.com/luislavena/radix.git" ;
49- rev = "v0.4.1" ;
50- sha256 = "1l08cydkdidq9yyil1wl240hvk41iycv04jrg6nx5mkvzw4z1bzg" ;
51- } ;
5232}
Original file line number Diff line number Diff line change @@ -6463,7 +6463,7 @@ with pkgs;
64636463 jdk_headless = openjdk8_headless; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
64646464 };
64656465
6466- mint = callPackage ../development/compilers/mint { crystal = crystal_1_9; };
6466+ mint = callPackage ../development/compilers/mint { };
64676467
64686468 mitscheme = callPackage ../development/compilers/mit-scheme {
64696469 texinfo = texinfo6;
You can’t perform that action at this time.
0 commit comments