deno: 1.9.2 -> 1.10.1

This commit is contained in:
06kellyjac
2021-05-12 14:52:48 +01:00
parent 5c57c26a7e
commit 3b36371ccd
2 changed files with 10 additions and 11 deletions
+5 -6
View File
@@ -16,19 +16,21 @@
rustPlatform.buildRustPackage rec {
pname = "deno";
version = "1.9.2";
version = "1.10.1";
src = fetchFromGitHub {
owner = "denoland";
repo = pname;
rev = "v${version}";
sha256 = "sha256-FKhSFqFZhqzrXrJcBc0YBNHoUq0/1+ULZ9sE+LyNQTI=";
sha256 = "sha256-aNStR86biNHwyg3dSI+CGib3XFhL5ZJ55d29E2K9qd0=";
};
cargoSha256 = "sha256-Pp322D7YtdpeNnKWcE78tvLh5nFNcrh9oGYX2eCiPzI=";
cargoSha256 = "sha256-JXjiI+fTB0YlnhKO6QfGl4YOEQNfpuWsza2TsM9fwIk=";
# Install completions post-install
nativeBuildInputs = [ installShellFiles ];
buildAndTestSubdir = "cli";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv libobjc Security CoreServices Metal Foundation ];
# The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
@@ -51,9 +53,6 @@ rustPlatform.buildRustPackage rec {
doCheck = false;
postInstall = ''
# remove test plugin and test server
rm -r $out/lib $out/bin/test_server $out/bin/denort
installShellCompletion --cmd deno \
--bash <($out/bin/deno completions bash) \
--fish <($out/bin/deno completions fish) \