Merge pull request #103237 from 06kellyjac/deno_1.5.2
deno: 1.5.1 -> 1.5.2
This commit is contained in:
commit
203443ed86
@ -18,16 +18,16 @@ let
|
|||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "deno";
|
pname = "deno";
|
||||||
version = "1.5.1";
|
version = "1.5.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "denoland";
|
owner = "denoland";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "19ki9qyg9q26jq4jkcf8b6xhy4g4cn30zqccgl3324mnijhl33jk";
|
sha256 = "0dpx74zp85a3qcabfmwnsh1kl0c74ygafybqzmyvwjmax0hdgkq6";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
cargoSha256 = "1q3gmilphkbh54y7m711ccr1gr5slk2nn91qq61rmmphyylwkgv2";
|
cargoSha256 = "0358vbpda9x0ib0vla4crn052lk299x2hg14g8lzymg33277lk3p";
|
||||||
|
|
||||||
# Install completions post-install
|
# Install completions post-install
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
@ -52,15 +52,14 @@ rustPlatform.buildRustPackage rec {
|
|||||||
# Skipping until resolved
|
# Skipping until resolved
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
# TODO: Move to enhanced installShellCompletion when merged: PR #83630
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# remove test plugin and test server
|
# remove test plugin and test server
|
||||||
rm -rf $out/lib $out/bin/test_server
|
rm -rf $out/lib $out/bin/test_server
|
||||||
|
|
||||||
$out/bin/deno completions bash > deno.bash
|
installShellCompletion --cmd deno \
|
||||||
$out/bin/deno completions fish > deno.fish
|
--bash <($out/bin/deno completions bash) \
|
||||||
$out/bin/deno completions zsh > _deno
|
--fish <($out/bin/deno completions fish) \
|
||||||
installShellCompletion deno.{bash,fish} --zsh _deno
|
--zsh <($out/bin/deno completions zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = ./update/update.ts;
|
passthru.updateScript = ./update/update.ts;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user