mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
d4a9198797
These updates are coupled because bend depends on exact hvm version. Also removes IOKit from hvm's buildInputs on darwin. This was a holdover from HVM1, which needed it. HVM2 does not. Also deletes unused unused arguments from the hvm derivation. Also migrates hvm to pkgs/by-name.
25 lines
567 B
Nix
25 lines
567 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchCrate
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "hvm";
|
|
version = "2.0.19";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-+Cx+2v4JrQflDBaNZ9Fu8734Zr4rrgtnojUS4dkx7Ck=";
|
|
};
|
|
|
|
cargoHash = "sha256-crVEtMzjg9T0oiS13URevPuRYqod4d2Ylb1IWRPVpa8=";
|
|
|
|
meta = with lib; {
|
|
description = "Massively parallel, optimal functional runtime in Rust";
|
|
mainProgram = "hvm";
|
|
homepage = "https://github.com/higherorderco/hvm";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|