summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/hv/hvm/package.nix
blob: 0a0554e8e57fbf4f9f5ce0c63af1b0a98fa4c506 (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
{
  lib,
  rustPlatform,
  fetchCrate,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "hvm";
  version = "2.0.22";

  src = fetchCrate {
    inherit (finalAttrs) pname version;
    hash = "sha256-AD8mv47m4E6H8BVkxTExyhrR7VEnuB/KxnRl2puPnX4=";
  };

  cargoHash = "sha256-nLcT+o6xrxPmQqK7FQpCqTlxOOUA1FzqRGQIypcq4fo=";

  # Skip snapshot tests with non-deterministic thread IDs and environment differences
  checkFlags = [
    "--skip=test_run_examples"
    "--skip=test_run_programs"
  ];

  meta = {
    description = "Massively parallel, optimal functional runtime in Rust";
    mainProgram = "hvm";
    homepage = "https://github.com/higherorderco/hvm";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
})