Unverified Commit 73f0991b authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

deno: 2.6.10 -> 2.7.4 (#497960)

parents 31358ae8 6492b983
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -2,11 +2,11 @@
{ fetchLibrustyV8 }:

fetchLibrustyV8 {
  version = "145.0.0";
  version = "146.1.0";
  shas = {
    x86_64-linux = "sha256-chV1PAx40UH3Ute5k3lLrgfhih39Rm3KqE+mTna6ysE=";
    aarch64-linux = "sha256-4IivYskhUSsMLZY97+g23UtUYh4p5jk7CzhMbMyqXyY=";
    x86_64-darwin = "sha256-1jUuC+z7saQfPYILNyRJanD4+zOOhXU2ac/LFoytwho=";
    aarch64-darwin = "sha256-yHa1eydVCrfYGgrZANbzgmmf25p7ui1VMas2A7BhG6k=";
    x86_64-linux = "sha256-PYCBh8+RY1nvPOKXMCns5mDRo2j0SB3Edw/ut7npjxo=";
    aarch64-linux = "sha256-EGlTttOowHhoFBy8FQeokCnbPLi4tfkIhSek28TfcGQ=";
    x86_64-darwin = "sha256-61d4tQ/PcNPUvDuQsMNTNUO43zLZSVEHOjdGFG0u4W8=";
    aarch64-darwin = "sha256-BMKybPdxP9+7QD/yfbnPnFxD8N7kHPUkMcEEf4P4iSE=";
  };
}
+9 −3
Original line number Diff line number Diff line
@@ -30,17 +30,17 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "deno";
  version = "2.6.10";
  version = "2.7.4";

  src = fetchFromGitHub {
    owner = "denoland";
    repo = "deno";
    tag = "v${finalAttrs.version}";
    fetchSubmodules = true; # required for tests
    hash = "sha256-youaF9YERkGUwN0sg6IzV8OAyahSDbFt0psn/p4iOVY=";
    hash = "sha256-L1dLMcA7YDNMF8uRImHZlQ0mXox3kpGln6MXeB9cMLU=";
  };

  cargoHash = "sha256-goaqxj8Y5Gqo4et4AkyZ3Uv74Q3M3V0VExUA/AMYNMI=";
  cargoHash = "sha256-ebozsCns5J95u+C4smysslJB9xVltHeVOdfD2IBuLtI=";

  patches = [
    ./patches/0002-tests-replace-hardcoded-paths.patch
@@ -179,6 +179,12 @@ rustPlatform.buildRustPackage (finalAttrs: {

    # sqlite extension tests are in a separate Cargo crate and therefore are not handled by the nixpkgs Cargo tooling
    "--skip=sqlite_extension_test"

    # Needs deno in $PATH
    "--skip=tests::test_rebuild_async_stubs"

    # Causes SIGTRAP
    "--skip=external::tests::test_external_deref_after_take"
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    # Expects specific shared libraries from macOS to be linked