15 rustPlatform.buildRustPackage rec {
19 src = fetchFromGitLab {
23 hash = "sha256-dfyTaWwV2hNZPZfvM+AqqR1zbChjT6Y/TEkQPEXRtGA=";
26 cargoHash = "sha256-yf46le0jG4EXo60kGKc0GwSO5vl4Dw0gmYJ4yr+TFdE=";
29 # The GPGME backend is recommended
30 for f in "gtk3/Cargo.toml" "cli/Cargo.toml"; do
31 substituteInPlace "$f" --replace \
32 'default = ["backend-gnupg-bin"' 'default = ["backend-gpgme"'
36 nativeBuildInputs = [ gpgme installShellFiles pkg-config python3 ];
48 for shell in bash fish zsh; do
49 installShellCompletion --cmd prs --$shell <($out/bin/prs internal completions $shell --stdout)
54 description = "Secure, fast & convenient password manager CLI using GPG and git to sync";
55 homepage = "https://gitlab.com/timvisee/prs";
56 changelog = "https://gitlab.com/timvisee/prs/-/blob/v${version}/CHANGELOG.md";
57 license = with licenses; [
59 gpl3Only # everything else
61 maintainers = with maintainers; [ dotlambda ];