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

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

34 lines
744 B
Nix
Raw Normal View History

2022-10-18 15:03:46 +00:00
{ lib
, rustPlatform
, fetchCrate
, stdenv
2023-01-27 17:48:57 +00:00
, darwin
2022-10-18 15:03:46 +00:00
}:
2022-09-25 19:14:36 +00:00
rustPlatform.buildRustPackage rec {
pname = "kind2";
version = "0.3.10";
2022-09-25 19:14:36 +00:00
src = fetchCrate {
inherit pname version;
hash = "sha256-X2sjfYrSSym289jDJV3hNmcwyQCMnrabmGCUKD5wfdY=";
2022-09-25 19:14:36 +00:00
};
cargoHash = "sha256-KzoEh/kMKsHx9K3t1/uQZ7fdsZEM+v8UOft8JjEB1Zw=";
2022-10-18 15:03:46 +00:00
2023-01-27 17:48:57 +00:00
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk_11_0.frameworks.Security
2022-10-18 15:03:46 +00:00
];
2022-09-25 19:14:36 +00:00
2023-01-27 17:48:57 +00:00
# requires nightly features
RUSTC_BOOTSTRAP = true;
2022-09-25 19:14:36 +00:00
meta = with lib; {
description = "A functional programming language and proof assistant";
mainProgram = "kind2";
homepage = "https://github.com/higherorderco/kind";
2022-09-25 19:14:36 +00:00
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}