summaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/mlton/default.nix
blob: c51e41d14f594ff023965af79012aa2f9baf6071 (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
{ callPackage, stdenv }:

rec {
  mlton20130715 = callPackage ./20130715.nix { };

  mlton20180207Binary = callPackage ./20180207-binary.nix { };

  mlton20180207 = callPackage ./from-git-source.nix {
    mltonBootstrap = mlton20180207Binary;
    version = "20180207";
    rev = "on-20180207-release";
    hash = "sha256-SuAhZRhmW+8l50aI0SSLv7lRC/iJRmKY+i30EptoLQM=";
  };

  mlton20210117Binary = callPackage ./20210117-binary.nix { };

  mlton20210117 = callPackage ./from-git-source.nix {
    mltonBootstrap = mlton20210117Binary;
    version = "20210117";
    rev = "on-20210117-release";
    hash = "sha256-rqL8lnzVVR+5Hc7sWXK8dCXN92dU76qSoii3/4StODM=";
  };

  mlton20241230Binary = callPackage ./20241230-binary.nix { };

  mlton20241230 = callPackage ./from-git-source.nix {
    mltonBootstrap = mlton20241230Binary;
    version = "20241230";
    rev = "on-20241230-release";
    hash = "sha256-gJUzav2xH8C4Vy5FuqN73Z6lPMSPQgJApF8LgsJXRWo=";
    # https://github.com/MLton/mlton/issues/631
    doCheck = !(stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin);
  };

  mltonHEAD = callPackage ./from-git-source.nix {
    mltonBootstrap = mlton20241230Binary;
    version = "HEAD";
    rev = "61baac7108fbd91413f0537b7a42d9a1023455f4";
    hash = "sha256-nWR7ZaXfKxeXfZ9IHipAQ39ASVtva4BeDHP3Zq8mqPo=";
    # https://github.com/MLton/mlton/issues/631
    doCheck = !(stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin);
  };
}