Merge pull request #303621 from 06kellyjac/deno

deno: 1.41.3 -> 1.42.3

authored by Peder Bergebakken Sundt and committed by GitHub 45a7e83f c15240aa

+11 -11
+3 -3
pkgs/development/web/deno/default.nix
··· 13 }: 14 rustPlatform.buildRustPackage rec { 15 pname = "deno"; 16 - version = "1.41.3"; 17 18 src = fetchFromGitHub { 19 owner = "denoland"; 20 repo = pname; 21 rev = "v${version}"; 22 - hash = "sha256-Urcy3kvwBz5Ey0LnoT6/N7V/QJg2SIBHVmWa12WOTKw="; 23 }; 24 25 - cargoHash = "sha256-NhJ3Uldncjx/KHAMVCd6U4Q0fbmc+u4E7JNZHcy/zQY="; 26 27 postPatch = '' 28 # upstream uses lld on aarch64-darwin for faster builds
··· 13 }: 14 rustPlatform.buildRustPackage rec { 15 pname = "deno"; 16 + version = "1.42.3"; 17 18 src = fetchFromGitHub { 19 owner = "denoland"; 20 repo = pname; 21 rev = "v${version}"; 22 + hash = "sha256-mjMpjbQbj0QyvRU4RRL++zvAxU2ZfMDhDauBC+zIH/g="; 23 }; 24 25 + cargoHash = "sha256-xuR7XrcI1O8NB6YY0oGFHxv+eUmt3WX1dXBI9aOOw58="; 26 27 postPatch = '' 28 # upstream uses lld on aarch64-darwin for faster builds
+6 -6
pkgs/development/web/deno/librusty_v8.nix
··· 4 let 5 fetch_librusty_v8 = args: fetchurl { 6 name = "librusty_v8-${args.version}"; 7 - url = "https://github.com/denoland/rusty_v8/releases/download/v${args.version}/librusty_v8_release_${stdenv.hostPlatform.rust.rustcTarget}.a"; 8 sha256 = args.shas.${stdenv.hostPlatform.system}; 9 meta = { inherit (args) version; }; 10 }; 11 in 12 fetch_librusty_v8 { 13 - version = "0.85.0"; 14 shas = { 15 - x86_64-linux = "sha256-Ma6JewYaHuPLihKnwwq8pAo+6sraXMghnl+wMvRfP1Y="; 16 - aarch64-linux = "sha256-Y55ZXuyB2kq2a/cJwIo7DxClg2juAsGYpyTmwYE2W3Q="; 17 - x86_64-darwin = "sha256-njP3obzJxr8I4G3jhDNbiVL8Cxa9D4KPGXW7VFrAZQY="; 18 - aarch64-darwin = "sha256-/8UFpUgdSKihxd4qsBoxYFrjEKUG3cDSkwJ5NSdmSQs="; 19 }; 20 }
··· 4 let 5 fetch_librusty_v8 = args: fetchurl { 6 name = "librusty_v8-${args.version}"; 7 + url = "https://github.com/denoland/rusty_v8/releases/download/v${args.version}/librusty_v8_release_${stdenv.hostPlatform.rust.rustcTarget}.a.gz"; 8 sha256 = args.shas.${stdenv.hostPlatform.system}; 9 meta = { inherit (args) version; }; 10 }; 11 in 12 fetch_librusty_v8 { 13 + version = "0.89.0"; 14 shas = { 15 + x86_64-linux = "sha256-XxX3x3LBiJK768gvzIsV7aKm6Yn5dLS3LINdDOUjDGU="; 16 + aarch64-linux = "sha256-ZetNxahe/XDp6OoGFkZS7VfOPQPbEGUkPNAaSJ0Y90M="; 17 + x86_64-darwin = "sha256-A047aVL2KSNWofPK2eH395iGPcdM+FjSxu5GkW9wJnI="; 18 + aarch64-darwin = "sha256-XN2JFL8Rs9hyTquVx6brjW15H54mhVIHqzkdEy9smqM="; 19 }; 20 }
+2 -2
pkgs/development/web/deno/update/librusty_v8.ts
··· 29 ` 30 { fetchurl }: 31 fetchurl { 32 - url = "https://github.com/denoland/rusty_v8/releases/download/v${version}/librusty_v8_release_${arch.rust}.a"; 33 } 34 `, 35 ]); ··· 45 let 46 fetch_librusty_v8 = args: fetchurl { 47 name = "librusty_v8-\${args.version}"; 48 - url = "https://github.com/denoland/rusty_v8/releases/download/v\${args.version}/librusty_v8_release_\${stdenv.hostPlatform.rust.rustcTarget}.a"; 49 sha256 = args.shas.\${stdenv.hostPlatform.system}; 50 meta = { inherit (args) version; }; 51 };
··· 29 ` 30 { fetchurl }: 31 fetchurl { 32 + url = "https://github.com/denoland/rusty_v8/releases/download/v${version}/librusty_v8_release_${arch.rust}.a.gz"; 33 } 34 `, 35 ]); ··· 45 let 46 fetch_librusty_v8 = args: fetchurl { 47 name = "librusty_v8-\${args.version}"; 48 + url = "https://github.com/denoland/rusty_v8/releases/download/v\${args.version}/librusty_v8_release_\${stdenv.hostPlatform.rust.rustcTarget}.a.gz"; 49 sha256 = args.shas.\${stdenv.hostPlatform.system}; 50 meta = { inherit (args) version; }; 51 };