Unverified Commit 38aa6cf2 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #198774 from fgaz/git-credential-keepassxc/init

parents 1d6f6c0e 626e0a13
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, DiskArbitration
, Foundation
}:

rustPlatform.buildRustPackage rec {
  pname = "git-credential-keepassxc";
  version = "0.10.1";

  src = fetchFromGitHub {
    owner = "Frederick888";
    repo = "git-credential-keepassxc";
    rev = "v${version}";
    hash = "sha256-zVE3RQlh0SEV4iavz40YhR+MP31oLCvG54H8gqXwL/k=";
  };

  cargoHash = "sha256-H75SGbT//02I+umttnPM5BwtFkDVNxEYLf84oULEuEk=";

  buildInputs = lib.optionals stdenv.isDarwin [ DiskArbitration Foundation ];

  meta = with lib; {
    description = "Helper that allows Git (and shell scripts) to use KeePassXC as credential store";
    longDescription = ''
      git-credential-keepassxc is a Git credential helper that allows Git
      (and shell scripts) to get/store logins from/to KeePassXC.
      It communicates with KeePassXC using keepassxc-protocol which is
      originally designed for browser extensions.
    '';
    homepage = "https://github.com/Frederick888/git-credential-keepassxc";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ fgaz ];
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -7081,6 +7081,10 @@ with pkgs;
  git-credential-1password = callPackage ../applications/version-management/git-and-tools/git-credential-1password { };
  git-credential-keepassxc = callPackage ../applications/version-management/git-and-tools/git-credential-keepassxc {
    inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation;
  };
  git-crecord = callPackage ../applications/version-management/git-crecord { };
  git-crypt = callPackage ../applications/version-management/git-and-tools/git-crypt { };