Skip to content

Commit

Permalink
Merge pull request #326324 from x123/x123-phraze-auto-update
Browse files Browse the repository at this point in the history
phraze: set updateScript and add passthru.tests
  • Loading branch information
Artturin committed Jul 19, 2024
2 parents 8b07f3e + 08f63de commit 45a1b61
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/by-name/ph/phraze/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
lib,
fetchFromGitHub,
testers,
nix-update-script,
phraze,
rustPlatform,
}:

Expand All @@ -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";
Expand Down

0 comments on commit 45a1b61

Please sign in to comment.