anchor.diff:      done
     '';
   
  -  nativeBuildInputs = [ gpgme pkg-config python3 ];
  +  nativeBuildInputs = [ gpgme installShellFiles pkg-config python3 ];
   
     buildInputs = [ dbus glib gpgme gtk3 libxcb ];
  +
  +  postInstall = ''
  +    for shell in bash fish zsh; do
  +      installShellCompletion --cmd prs --$shell <($out/bin/prs internal completions $shell --stdout)
  +    done
  +  '';
   
     meta = with lib; {
       description = "Secure, fast & convenient password manager CLI using GPG and git to sync";
  
positive.code: 
  rustPlatform.buildRustPackage rec {
    pname = "prs";
    version = "0.2.7";
  
    src = fetchFromGitLab {
      owner = "timvisee";
      repo = "prs";
      rev = "v${version}";
      sha256 = "sha256-1Jrgf5UW6k0x3q6kQIB6Q7moOhConEnUU9r+21W5Uu8=";
    };
  
    cargoSha256 = "sha256-N3pLW/OGeurrl+AlwdfbZ3T7WzEOAuyUMdIR164Xp7k=";
  
    postPatch = ''
      # The GPGME backend is recommended
  
negative.code: { lib
  , rustPlatform
  , fetchFromGitLab
  , installShellFiles
  , pkg-config
  , python3
  , dbus
  