phraze: Add updateScript and version test
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user