Merge pull request #331142 from donovanglover/phraze-0.3.13

phraze: 0.3.12 -> 0.3.13

authored by

tomberek and committed by
GitHub
cfed4dff 5f2b743c

+19 -4
+19 -4
pkgs/by-name/ph/phraze/package.nix
··· 5 5 nix-update-script, 6 6 phraze, 7 7 rustPlatform, 8 + installShellFiles, 8 9 }: 9 10 10 11 rustPlatform.buildRustPackage rec { 11 12 pname = "phraze"; 12 - version = "0.3.12"; 13 + version = "0.3.13"; 13 14 14 15 src = fetchFromGitHub { 15 16 owner = "sts10"; 16 17 repo = "phraze"; 17 18 rev = "v${version}"; 18 - hash = "sha256-lW7oYivIDGYg78MgcLFFNyxciVk+wKU/OBzWYx3KwPI="; 19 + hash = "sha256-xjkS1Ehqh2LfuIwAtj6V7Q9DcuERk7PyJKJEuDE7A34="; 19 20 }; 20 21 21 22 doCheck = true; 22 23 23 - cargoHash = "sha256-kFk04YKDYiABWtild6aaP9H8gt/TuckOWRJE69dAXGU="; 24 + cargoHash = "sha256-jsQlcGRZqa4HHUS3Xc9OZUbI6pHalt9A3fVaz+Th1l0="; 25 + 26 + nativeBuildInputs = [ installShellFiles ]; 24 27 25 28 passthru = { 26 29 updateScript = nix-update-script { }; ··· 29 32 }; 30 33 }; 31 34 35 + postInstall = '' 36 + installManPage target/man/phraze.1 37 + 38 + installShellCompletion --cmd phraze \ 39 + --bash target/completions/phraze.bash \ 40 + --fish target/completions/phraze.fish \ 41 + --zsh target/completions/_phraze 42 + ''; 43 + 32 44 meta = { 33 45 description = "Generate random passphrases"; 34 46 homepage = "https://github.com/sts10/phraze"; 35 47 changelog = "https://github.com/sts10/phraze/releases/tag/v${version}"; 36 48 license = lib.licenses.mpl20; 37 - maintainers = with lib.maintainers; [ x123 ]; 49 + maintainers = with lib.maintainers; [ 50 + x123 51 + donovanglover 52 + ]; 38 53 mainProgram = "phraze"; 39 54 }; 40 55 }