Files
nixpkgs/pkgs/by-name/sc/scala-cli/sources.json
Vladyslav Pekker ee891b64f7 scala-cli: rework update script
Replaces the script with the one bloop grew, which is the same script:
shellcheck runs over it at build time, it refuses to downgrade, it fails
loudly when the release stops shipping an asset it needs, it writes
sources.json through a temporary file, and it supports the `commit`
updateScript feature.

Like bloop's it takes no arguments. The repository moves into sources.json
so that the release URL is written down once, and the sections of assets
to refresh are read from the file rather than passed in, which is what
lets one script serve this package and bloop, whose sources.json also has
a completions section.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-16 05:49:35 -03:00

19 lines
518 B
JSON

{
"repo": "VirtusLab/scala-cli",
"version": "1.16.0",
"assets": {
"aarch64-darwin": {
"asset": "scala-cli-aarch64-apple-darwin.gz",
"hash": "sha256-f8IuaCBvTFeUVQSeaE+CbFpqmnrpVTkbmtH9X0GNBNg="
},
"aarch64-linux": {
"asset": "scala-cli-aarch64-pc-linux.gz",
"hash": "sha256-LRVyV0OdccfqEePv9Y1VORMxyZJTP+OTf+wQRAQYOWE="
},
"x86_64-linux": {
"asset": "scala-cli-x86_64-pc-linux.gz",
"hash": "sha256-NjZMtzBdSpzoH2XEdrPfz9PgC2K9GdqehrQ5HslTeSQ="
}
}
}