ssh-openpgp-auth,sshd-openpgp-auth: useFetchCargoVendor

Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
This commit is contained in:
Alyssa Ross 2025-01-24 22:31:26 +01:00
parent 040916e51c
commit 28f55bb7fd
No known key found for this signature in database
GPG key ID: 5B459184230FF0A2
3 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,6 @@ callPackage ./generic.nix {
pname = "sshd-openpgp-auth";
version = "0.3.0";
srcHash = "sha256-IV0Nhdqyn12HDOp1jaKz3sKTI3ktFd5b6qybCLWt27I=";
cargoHash = "sha256-/+lZkVMeFUMRD7NQ/MHDU5f3rkKDx1kDv5tjA41RExc=";
cargoHash = "sha256-WyYzDzC83iL1c8gCj+mYDq3/gsFxmxEWKwLhWLEygkI=";
metaDescription = "Command-line tool for creating and managing OpenPGP based trust anchors for SSH host keys";
}

View file

@ -34,6 +34,7 @@ rustPlatform.buildRustPackage {
hash = srcHash;
};
buildAndTestSubdir = pname;
useFetchCargoVendor = true;
inherit cargoHash;
nativeBuildInputs = [

View file

@ -4,6 +4,6 @@ callPackage ./generic.nix {
pname = "ssh-openpgp-auth";
version = "0.2.2";
srcHash = "sha256-5ew6jT6Zr54QYaWFQIGYXd8sqC3yHHZjPfoaCossm8o=";
cargoHash = "sha256-/k/XAp7PHIJaJWf4Oa1JC1mMSR5pyeM4SSPCcr77cAg=";
cargoHash = "sha256-PHJiyq7zovn7EA7jDLJQxjxu2ErPHqBMwAlJpb5UVQY=";
metaDescription = "Command-line tool that provides client-side functionality to transparently verify the identity of remote SSH hosts";
}