diff --git a/pkgs/by-name/ph/phraze/package.nix b/pkgs/by-name/ph/phraze/package.nix index 1ebd806bfc1d..bffa86e107ee 100644 --- a/pkgs/by-name/ph/phraze/package.nix +++ b/pkgs/by-name/ph/phraze/package.nix @@ -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";