Revert "[Backport staging-nixos-26.05] cargo-auditable: 0.7.2 -> 0.7.5" (#535792)

This commit is contained in:
Michael Daniels 2026-06-26 16:12:45 -04:00 committed by GitHub
commit 7d9465460b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 11 deletions

View file

@ -16,14 +16,11 @@ lib.extendMkDerivation {
auditable ? true,
hash ? "",
cargoHash ? "",
passthru ? { },
...
}:
{
inherit auditable pname;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "rust-secure-code";
repo = "cargo-auditable";
@ -48,9 +45,7 @@ lib.extendMkDerivation {
installManPage cargo-auditable/cargo-auditable.1
'';
passthru = passthru // {
bootstrap = auditable-bootstrap;
};
passthru.bootstrap = auditable-bootstrap;
meta = {
description = "Tool to make production Rust binaries auditable";

View file

@ -2,7 +2,6 @@
buildPackages,
callPackage,
makeRustPlatform,
nix-update-script,
}:
let
# Need to use the build platform rustc and Cargo so that
@ -19,9 +18,9 @@ let
auditable-bootstrap = bootstrap;
};
version = "0.7.5";
hash = "sha256-0VONJCv/msLcGenItWMLJ7DH79RTD6vsU9gX/nphh1g=";
cargoHash = "sha256-/iAYib+xDQSJ8B559/V7b994ErSUGsPSDx64jFF5B6I=";
version = "0.7.2";
hash = "sha256-hR6PjTOps8JSM7UbfGlCoZmmwtWExVqYwh4lxDiFWdc=";
cargoHash = "sha256-JEfnUJ9J6Xak3AOCwQCnu+v+3Wl3QbXX20qVFWB6040=";
# cargo-auditable cannot be built with cargo-auditable until cargo-auditable is built
bootstrap = auditableBuilder {
@ -33,5 +32,4 @@ in
auditableBuilder {
inherit version hash cargoHash;
auditable = true;
passthru.updateScript = nix-update-script { };
}