mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
d994dabace
We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, DiskArbitration
|
|
, Foundation
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "git-credential-keepassxc";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Frederick888";
|
|
repo = "git-credential-keepassxc";
|
|
rev = "v${version}";
|
|
hash = "sha256-ZpysJ+xs3IenqAdoswG0OkzxzuNPSKkqlutGxn4VRw8=";
|
|
};
|
|
|
|
cargoHash = "sha256-IPsMlVfgwoFEQlXmW4gnt16WNF5W6akobUVct/iF42E=";
|
|
|
|
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 ];
|
|
};
|
|
}
|