11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
19 hash = "sha256-gpdXgR7TK3xJHHXcZdfMZApA3SvtNmCroi/5ChfrQOs=";
24 cargoHash = "sha256-tYQ/kcwCNAcgEUmwrrdogLd1AugBnVfqaLX9fjjpOUE=";
26 nativeBuildInputs = [ installShellFiles ];
29 updateScript = nix-update-script { };
31 version = testers.testVersion { package = phraze; };
36 installManPage target/man/phraze.1
38 installShellCompletion --cmd phraze \
39 --bash target/completions/phraze.bash \
40 --fish target/completions/phraze.fish \
41 --zsh target/completions/_phraze
45 description = "Generate random passphrases";
46 homepage = "https://github.com/sts10/phraze";
47 changelog = "https://github.com/sts10/phraze/releases/tag/v${version}";
48 license = lib.licenses.mpl20;
49 maintainers = with lib.maintainers; [
53 mainProgram = "phraze";