phraze: Add updateScript and version test

This commit is contained in:
x123
2024-07-19 23:24:27 +03:00
committed by Artturin
parent bed9309adc
commit 08f63deadb
+10
View File
@@ -1,6 +1,9 @@
{
lib,
fetchFromGitHub,
testers,
nix-update-script,
phraze,
rustPlatform,
}:
@@ -19,6 +22,13 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-kFk04YKDYiABWtild6aaP9H8gt/TuckOWRJE69dAXGU=";
passthru = {
updateScript = nix-update-script { };
tests = {
version = testers.testVersion { package = phraze; };
};
};
meta = {
description = "Generate random passphrases";
homepage = "https://github.com/sts10/phraze";