Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
882 B
Nix
41 lines
882 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
kclvm,
|
|
rustc,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "kclvm_cli";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kcl-lang";
|
|
repo = "kcl";
|
|
rev = "v${version}";
|
|
hash = "sha256-wRmLXR1r/FtZVfc6jifEj0jS0U0HIgJzBtuuzLQchjo=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/cli";
|
|
|
|
cargoHash = "sha256-ZhrjxHqwWwcVkCVkJJnVm2CZLfRlrI2383ejgI+B2KQ=";
|
|
cargoPatches = [ ./cargo_lock.patch ];
|
|
|
|
buildInputs = [
|
|
kclvm
|
|
rustc
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "High-performance implementation of KCL written in Rust that uses LLVM as the compiler backend";
|
|
homepage = "https://github.com/kcl-lang/kcl";
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [
|
|
selfuryon
|
|
peefy
|
|
];
|
|
mainProgram = "kclvm_cli";
|
|
};
|
|
}
|