diff options
Diffstat (limited to 'pkgs/applications/version-management/git-credential-1password/default.nix')
-rw-r--r-- | pkgs/applications/version-management/git-credential-1password/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-credential-1password/default.nix b/pkgs/applications/version-management/git-credential-1password/default.nix new file mode 100644 index 00000000000..8d180f5176a --- /dev/null +++ b/pkgs/applications/version-management/git-credential-1password/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "git-credential-1password"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "develerik"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-Bz/EW+K4XtDap3cu3/+9nJePcdxMXakj8HDPsbCx1FU="; + }; + + vendorSha256 = "sha256-cPHA6rVUQg41sS79UBFf85OfLn53C8/OZVGT5xVdBdw="; + + 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 ]; + }; +} |