2021-12-21 02:18:32 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "git-credential-1password";
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "1.2.0";
|
2021-12-21 02:18:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "develerik";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "sha256-Bz/EW+K4XtDap3cu3/+9nJePcdxMXakj8HDPsbCx1FU=";
|
2021-12-21 02:18:32 +00:00
|
|
|
};
|
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
vendorSha256 = "sha256-cPHA6rVUQg41sS79UBFf85OfLn53C8/OZVGT5xVdBdw=";
|
2021-12-21 02:18:32 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A git credential helper for 1Password";
|
|
|
|
homepage = "https://github.com/develerik/git-credential-1password";
|
|
|
|
changelog = "https://github.com/develerik/git-credential-1password/releases/tag/v${version}";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.ivankovnatsky ];
|
|
|
|
};
|
|
|
|
}
|