mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 05:57:28 +00:00
commit
b1fab71cd3
@ -17,15 +17,15 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "deno";
|
||||
version = "1.28.1";
|
||||
version = "1.28.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "denoland";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-pphXLH81xous4C/mTkay9mfk3PgIT7HcY+br9uckJlQ=";
|
||||
sha256 = "sha256-gmDR8KNpx+M66Rv8fooTQOY42ekYl+KwIQ/5jDvYQho=";
|
||||
};
|
||||
cargoSha256 = "sha256-DEWLIGskfvuEZhLvtdPprlmncZRcJBBBjYRuk4oFVkk=";
|
||||
cargoSha256 = "sha256-emf6Q3WQM8W0yPvuNXPeuRC7FOt8QJ/+b5kMzyd3ZCU=";
|
||||
|
||||
postPatch = ''
|
||||
# upstream uses lld on aarch64-darwin for faster builds
|
||||
|
@ -1,10 +1,8 @@
|
||||
import * as toml from "https://deno.land/std@0.148.0/encoding/toml.ts";
|
||||
import {
|
||||
genValueRegExp,
|
||||
getExistingVersion,
|
||||
logger,
|
||||
run,
|
||||
versionRegExp,
|
||||
write,
|
||||
} from "./common.ts";
|
||||
|
||||
@ -25,9 +23,9 @@ const getLibrustyV8Version = async (
|
||||
repo: string,
|
||||
version: string,
|
||||
) =>
|
||||
fetch(`https://github.com/${owner}/${repo}/raw/${version}/core/Cargo.toml`)
|
||||
fetch(`https://github.com/${owner}/${repo}/raw/${version}/Cargo.toml`)
|
||||
.then((res) => res.text())
|
||||
.then((txt) => toml.parse(txt).dependencies.v8.version);
|
||||
.then((txt) => toml.parse(txt).workspace.dependencies.v8.version);
|
||||
|
||||
const fetchArchShaTasks = (version: string, arches: Architecture[]) =>
|
||||
arches.map(
|
||||
|
Loading…
Reference in New Issue
Block a user