Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / interpreters / starlark-rust / default.nix
blobbd30fb4f85ae6b9fb2d264c2575b82f060ebd3ee
1 { lib
2 , rustPlatform
3 , fetchCrate
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "starlark-rust";
8   version = "0.10.0";
10   src = fetchCrate {
11     pname = "starlark_bin";
12     inherit version;
13     hash = "sha256-7AoNRTLyTYsUass9bMJMBUN+GrfUzEGM9cED5VsRESs=";
14   };
16   cargoHash = "sha256-Q00JJRiubrxnI0nFQqUTbxTTB70XV93HJycjdlvV+74=";
18   meta = with lib; {
19     description = "A Rust implementation of the Starlark language";
20     homepage = "https://github.com/facebookexperimental/starlark-rust";
21     changelog = "https://github.com/facebookexperimental/starlark-rust/blob/v${version}/CHANGELOG.md";
22     license = licenses.asl20;
23     maintainers = with maintainers; [ figsoda ];
24     mainProgram = "starlark";
25   };