https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
13 lines
342 B
JSON
13 lines
342 B
JSON
{
|
|
"version": "0.1.7",
|
|
"assets": {
|
|
"x86_64-darwin": {
|
|
"asset": "scala-cli-x86_64-apple-darwin.gz",
|
|
"sha256": "1sly3s9y742nms8kqwh2cikjkcnbkkafsql8sw2w2zr53z28g10v"
|
|
},
|
|
"x86_64-linux": {
|
|
"asset": "scala-cli-x86_64-pc-linux.gz",
|
|
"sha256": "1lgcbxzhwqfnj6n81w1ssdcrn1j0c93chqgh0zzqi08w8wk3x4j5"
|
|
}
|
|
}
|
|
}
|