commit
4c079b19fc
2 changed files with 38 additions and 0 deletions
34
pkgs/development/compilers/hvm/default.nix
Normal file
34
pkgs/development/compilers/hvm/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, pkg-config
|
||||
, openssl
|
||||
, stdenv
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hvm";
|
||||
version = "0.1.88";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-VnVyTUOtoplt0Zd5VkCe/h85/Mqcz7lgeIiZVD+Vrxk=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-4D63OEz7/2pJGPXiFEwl6ggaV2DNZcoN//BM7H0Sp7I=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
# memory allocation of 34359738368 bytes failed
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pure functional compile target that is lazy, non-garbage-collected, and parallel";
|
||||
homepage = "https://github.com/kindelia/hvm";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
|
@ -14043,6 +14043,10 @@ with pkgs;
|
|||
|
||||
gwt240 = callPackage ../development/compilers/gwt/2.4.0.nix { };
|
||||
|
||||
hvm = callPackage ../development/compilers/hvm {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
idrisPackages = dontRecurseIntoAttrs (callPackage ../development/idris-modules {
|
||||
idris-no-deps = haskellPackages.idris;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue