1 { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
4 pname = "git-credential-oauth";
7 src = fetchFromGitHub {
11 hash = "sha256-bqyoAAqli0L6Kf+W1sTh2vmmfaIj2OdpQyvQZnYOWWA=";
14 nativeBuildInputs = [ installShellFiles ];
19 "-X main.version=${version}"
22 vendorHash = "sha256-cCqbEv4kBnF6FWvfaXCOxadPVXR/AxXS3nXHf6WmsSs=";
25 installManPage $src/git-credential-oauth.1
29 description = "Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth";
30 homepage = "https://github.com/hickford/git-credential-oauth";
31 changelog = "https://github.com/hickford/git-credential-oauth/releases/tag/${src.rev}";
32 license = lib.licenses.asl20;
33 maintainers = with lib.maintainers; [ shyim ];
34 mainProgram = "git-credential-oauth";