diff options
author | Felix Bühler <Stunkymonkey@users.noreply.github.com> | 2023-10-22 20:59:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-22 20:59:27 +0200 |
commit | 5c004190785fac0e6b9abf658f6a09b93141eb2a (patch) | |
tree | a20f70e0a428689fd503eea09657d226989521df /pkgs/development | |
parent | 009bafd2369731970b9bc91a9e3955b276226ac3 (diff) | |
parent | 4fe4f51ed3486a47146df0aff1bc8b8f8e819e55 (diff) |
Merge pull request #261849 from figsoda/starlark
starlark-rust: 0.9.0 -> 0.10.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/interpreters/starlark-rust/default.nix | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/pkgs/development/interpreters/starlark-rust/default.nix b/pkgs/development/interpreters/starlark-rust/default.nix index c83f6195bc64f..bd30fb4f85ae6 100644 --- a/pkgs/development/interpreters/starlark-rust/default.nix +++ b/pkgs/development/interpreters/starlark-rust/default.nix @@ -1,31 +1,19 @@ { lib , rustPlatform , fetchCrate -, fetchpatch -, stdenv }: rustPlatform.buildRustPackage rec { - pname = "starlark"; - version = "0.9.0"; + pname = "starlark-rust"; + version = "0.10.0"; src = fetchCrate { - inherit pname version; - hash = "sha256-h8TBWWw94Ka9C0W0i0aHACq6jO0QOLnLW+wTRzorHcc="; + pname = "starlark_bin"; + inherit version; + hash = "sha256-7AoNRTLyTYsUass9bMJMBUN+GrfUzEGM9cED5VsRESs="; }; - cargoHash = "sha256-OLzotKyiG0JmtjH0ckRImHMPPxfQZ+8IHZtXlo1f8+Y="; - - patches = [ - # fix test broken due to using `fetchCrate` - # https://github.com/facebookexperimental/starlark-rust/pull/78 - (fetchpatch { - name = "fix-test-rust-loc-when-tested-from-the-crate.patch"; - url = "https://github.com/facebookexperimental/starlark-rust/commit/0e4f90c77868e506268fcb6c9d37368e5b2b8cf5.patch"; - hash = "sha256-c8irAyS2IQ5C6s+0t4+hbW8aFptkwvCu9JHLyZqZsW4="; - stripLen = 1; - }) - ]; + cargoHash = "sha256-Q00JJRiubrxnI0nFQqUTbxTTB70XV93HJycjdlvV+74="; meta = with lib; { description = "A Rust implementation of the Starlark language"; @@ -33,6 +21,6 @@ rustPlatform.buildRustPackage rec { changelog = "https://github.com/facebookexperimental/starlark-rust/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ figsoda ]; - broken = stdenv.isAarch64 || stdenv.isDarwin; + mainProgram = "starlark"; }; } |