2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2023-11-16 04:20:00 +00:00
|
|
|
pname = "starlark-rust";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "0.11.0";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
2023-11-16 04:20:00 +00:00
|
|
|
pname = "starlark_bin";
|
|
|
|
inherit version;
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-/dy9uzXLZipKzFaslOmlzeEsOD89pprwFTopYpsmHGM=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
cargoHash = "sha256-Ict1Lh+JPZ5dmC+ul0phcQug9nYeaILLCtaHQOI6qBk=";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Rust implementation of the Starlark language";
|
|
|
|
homepage = "https://github.com/facebookexperimental/starlark-rust";
|
|
|
|
changelog = "https://github.com/facebookexperimental/starlark-rust/blob/v${version}/CHANGELOG.md";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2023-11-16 04:20:00 +00:00
|
|
|
mainProgram = "starlark";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
}
|