pqcscan: init at 0.8.0 (#497195)

This commit is contained in:
Fabian Affolter
2026-03-06 23:10:47 +00:00
committed by GitHub
+33
View File
@@ -0,0 +1,33 @@
{
lib,
fetchFromGitHub,
rustPlatform,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "pqcscan";
version = "0.8.0";
src = fetchFromGitHub {
owner = "anvilsecure";
repo = "pqcscan";
tag = finalAttrs.version;
hash = "sha256-+IwUESqmxvZu53n5ORNoYVD8JiSwAjD9AudnsXfIKvc=";
};
cargoHash = "sha256-ZZm1I4fsw4PDCVZYuyhy4fC5ocfz1Snrv9vMltF26x8=";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "Post-Quantum Cryptography Scanner";
homepage = "https://github.com/anvilsecure/pqcscan";
changelog = "https://github.com/anvilsecure/pqcscan/releases/tag/${finalAttrs.src.rev}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "pqcscan";
};
})