From 6c61c502464af20f9a9847fc76b07d0971fb5812 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 13 Nov 2024 20:08:05 -0500 Subject: [PATCH] cargo-auditable: 0.6.2 -> 0.6.5 Diff: https://github.com/rust-secure-code/cargo-auditable/compare/v0.6.2...v0.6.5 Changelog: https://github.com/rust-secure-code/cargo-auditable/blob/v0.6.5/cargo-auditable/CHANGELOG.md --- .../compilers/rust/cargo-auditable.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pkgs/development/compilers/rust/cargo-auditable.nix b/pkgs/development/compilers/rust/cargo-auditable.nix index 0fa6098934c1..77185f267b5b 100644 --- a/pkgs/development/compilers/rust/cargo-auditable.nix +++ b/pkgs/development/compilers/rust/cargo-auditable.nix @@ -1,26 +1,23 @@ -{ lib, buildPackages, fetchFromGitHub, fetchpatch, makeRustPlatform, installShellFiles, stdenv }: +{ lib, buildPackages, fetchFromGitHub, makeRustPlatform, installShellFiles, stdenv }: let args = rec { pname = "cargo-auditable"; - version = "0.6.2"; + version = "0.6.5"; src = fetchFromGitHub { owner = "rust-secure-code"; repo = pname; rev = "v${version}"; - sha256 = "sha256-ERIzx9Fveanq7/aWcB2sviTxIahvSu0sTwgpGf/aYE8="; + sha256 = "sha256-zjv2/qZM0vRyz45DeKRtPHaamv2iLtjpSedVTEXeDr8="; }; - patches = [ - (fetchpatch { - name = "rust-1.77-tests.patch"; - url = "https://github.com/rust-secure-code/cargo-auditable/commit/5317a27244fc428335c4e7a1d066ae0f65f0d496.patch"; - hash = "sha256-UblGseiSC/2eE4rcnTgYzxAMrutHFSdxKTHqKj1mX5o="; - }) - ]; + cargoHash = "sha256-uNoqWT3gVslGEPcyrfFeOquvSlLzZbPO4yM1YJeD8N4="; - cargoHash = "sha256-4o3ctun/8VcBRuj+j0Yaawdkyn6Z6LPp+FTyhPxQWU8="; + checkFlags = [ + # requires wasm32-unknown-unknown target + "--skip=test_wasm" + ]; meta = with lib; { description = "Tool to make production Rust binaries auditable";