2024-07-01 04:50:55 -04:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
rustPlatform,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "phraze";
|
2024-07-05 16:05:26 -04:00
|
|
|
version = "0.3.12";
|
2024-07-01 04:50:55 -04:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sts10";
|
|
|
|
repo = "phraze";
|
|
|
|
rev = "v${version}";
|
2024-07-05 16:05:26 -04:00
|
|
|
hash = "sha256-lW7oYivIDGYg78MgcLFFNyxciVk+wKU/OBzWYx3KwPI=";
|
2024-07-01 04:50:55 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2024-07-05 16:05:26 -04:00
|
|
|
cargoHash = "sha256-kFk04YKDYiABWtild6aaP9H8gt/TuckOWRJE69dAXGU=";
|
2024-07-01 04:50:55 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Generate random passphrases";
|
|
|
|
homepage = "https://github.com/sts10/phraze";
|
|
|
|
changelog = "https://github.com/sts10/phraze/releases/tag/v${version}";
|
|
|
|
license = lib.licenses.mpl20;
|
|
|
|
maintainers = with lib.maintainers; [ x123 ];
|
|
|
|
mainProgram = "phraze";
|
|
|
|
};
|
|
|
|
}
|