Merge pull request #97975 from 06kellyjac/deno_1.4.0
This commit is contained in:
commit
c5ef62db67
2 changed files with 10 additions and 7 deletions
|
@ -18,16 +18,16 @@ let
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "deno";
|
pname = "deno";
|
||||||
version = "1.3.3";
|
version = "1.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "denoland";
|
owner = "denoland";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0jbnx23f1323sh1rfx8rza2pzr4li4199wblrl4vw4zp5hj4qnkm";
|
sha256 = "1kl3s5kv3wwh4br6zf0f56bffzjwhgzga93zg39mqry8jvwxp6dx";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
cargoSha256 = "08zi3ynbi44rdgid9qalgsb5g8dcwclr6ynwxvhi8r0v5i7swwrx";
|
cargoSha256 = "1m3wd2gjy2b8a3x9wm49n9z02165afv4c3n13pnqsxcqmd9a764f";
|
||||||
|
|
||||||
# Install completions post-install
|
# Install completions post-install
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
@ -54,6 +54,9 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
# TODO: Move to enhanced installShellCompletion when merged: PR #83630
|
# TODO: Move to enhanced installShellCompletion when merged: PR #83630
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
# remove test plugin and test server
|
||||||
|
rm -rf $out/lib $out/bin/test_server
|
||||||
|
|
||||||
$out/bin/deno completions bash > deno.bash
|
$out/bin/deno completions bash > deno.bash
|
||||||
$out/bin/deno completions fish > deno.fish
|
$out/bin/deno completions fish > deno.fish
|
||||||
$out/bin/deno completions zsh > _deno
|
$out/bin/deno completions zsh > _deno
|
||||||
|
|
8
pkgs/development/web/deno/deps.nix
generated
8
pkgs/development/web/deno/deps.nix
generated
|
@ -2,11 +2,11 @@
|
||||||
{}:
|
{}:
|
||||||
rec {
|
rec {
|
||||||
rustyV8Lib = {
|
rustyV8Lib = {
|
||||||
version = "0.9.1";
|
version = "0.12.0";
|
||||||
sha256s = {
|
sha256s = {
|
||||||
x86_64-linux = "07zph4x3k659ywld27b60as7j06bdbab2ws1pf67iwg7w6h7iash";
|
x86_64-linux = "18pim960fh18wrdkhirlj4hnnbxrk172r7yksdn2k5z9lgccighg";
|
||||||
aarch64-linux = "0w9mbsdpkrla3ayaswpdjhiqs74h23qi2sv9355h138pw431ymnx";
|
aarch64-linux = "0d1c8kcz44n1mqprspnshzbqlqw7mq7vryxpmd49gw3fvhcy66y7";
|
||||||
x86_64-darwin = "091kzdg431lvkvcy0401di3if53pii0isk5ipfpsvic82kr7vaqk";
|
x86_64-darwin = "1pc2dfq8p1a8dahkc4g8r6b9zwnvds60zc2lgbf8cj5n0ijd06y1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue