7 , withNotification ? false
9 , withStrictCaller ? false
13 rustPlatform.buildRustPackage rec {
14 pname = "git-credential-keepassxc";
17 src = fetchFromGitHub {
18 owner = "Frederick888";
19 repo = "git-credential-keepassxc";
21 hash = "sha256-AvnnzLiDQEdfAHPns8ufhdiPPn9d23AnI8Aq2DQS+To=";
24 cargoHash = "sha256-c2YucWs0UzyWDKWS5KebT3ps+XvWzlI0+ziJ8JX6oiQ=";
26 buildInputs = lib.optionals stdenv.isDarwin [ DiskArbitration Foundation ];
29 ++ lib.optional withNotification "notification"
30 ++ lib.optional withYubikey "yubikey"
31 ++ lib.optional withStrictCaller "strict-caller"
32 ++ lib.optional withAll "all";
35 description = "Helper that allows Git (and shell scripts) to use KeePassXC as credential store";
37 git-credential-keepassxc is a Git credential helper that allows Git
38 (and shell scripts) to get/store logins from/to KeePassXC.
39 It communicates with KeePassXC using keepassxc-protocol which is
40 originally designed for browser extensions.
42 homepage = "https://github.com/Frederick888/git-credential-keepassxc";
43 license = licenses.gpl3Plus;
44 maintainers = with maintainers; [ fgaz ];
45 mainProgram = "git-credential-keepassxc";