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";
|
2023-05-12 16:12:56 +00:00
|
|
|
version = "0.3.10";
|
2022-09-25 19:14:36 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-05-12 16:12:56 +00:00
|
|
|
hash = "sha256-X2sjfYrSSym289jDJV3hNmcwyQCMnrabmGCUKD5wfdY=";
|
2022-09-25 19:14:36 +00:00
|
|
|
};
|
|
|
|
|
2023-05-12 16:12:56 +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";
|
2023-05-12 16:12:56 +00:00
|
|
|
homepage = "https://github.com/higherorderco/kind";
|
2022-09-25 19:14:36 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|