nixpkgs/pkgs/development/compilers/hvm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
684 B
Nix
Raw Normal View History

2022-09-25 16:03:11 +00:00
{ lib
, rustPlatform
, fetchCrate
, stdenv
2023-01-13 22:20:41 +00:00
, darwin
2022-09-25 16:03:11 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "hvm";
version = "2.0.17";
2022-09-25 16:03:11 +00:00
src = fetchCrate {
inherit pname version;
hash = "sha256-UzPEupmUnph7SjCc/T4sBSGXj8yLVdQlw+X9iM16zD8=";
2022-09-25 16:03:11 +00:00
};
cargoHash = "sha256-AchVbf+mn4qQtzWu84Dqek+btCm6BA9mcY+8iHWqdiw=";
2022-09-25 16:03:11 +00:00
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk_11_0.frameworks.IOKit
2023-01-13 22:20:41 +00:00
];
2022-09-25 16:03:11 +00:00
meta = with lib; {
description = "A massively parallel, optimal functional runtime in Rust";
mainProgram = "hvm";
homepage = "https://github.com/higherorderco/hvm";
license = licenses.asl20;
2022-09-25 16:03:11 +00:00
maintainers = with maintainers; [ figsoda ];
};
}