aegis-rs: init at 0.5.0 (#462318)

This commit is contained in:
Sandro
2026-03-31 14:11:23 +00:00
committed by GitHub
2 changed files with 40 additions and 0 deletions
+6
View File
@@ -9974,6 +9974,12 @@
githubId = 66037909;
name = "Graham J. Norris";
};
granddave = {
email = "davidisaksson93@gmail.com";
github = "Granddave";
githubId = 13297896;
name = "David Isaksson";
};
gravndal = {
email = "gaute.ravndal+nixos@gmail.com";
github = "gravndal";
+34
View File
@@ -0,0 +1,34 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "aegis-rs";
version = "0.5.0";
src = fetchFromGitHub {
owner = "Granddave";
repo = "aegis-rs";
tag = "v${finalAttrs.version}";
hash = "sha256-V6b9CDLjpyRb/MlbAswQ2kJFGeYDu9r2Y/8lBB+kLGc=";
};
cargoHash = "sha256-QYTmTJiwqslFM1VT+B+HtA8idvhKOPY4+ip/FqQGZ34=";
passthru.updateScript = nix-update-script { };
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "Aegis compatible OTP generator for the CLI";
homepage = "https://github.com/Granddave/aegis-rs";
changelog = "https://github.com/Granddave/aegis-rs/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ granddave ];
mainProgram = "aegis-rs";
};
})