Merge pull request #235464 from shyim/add-git-credential-oauth

git-credential-oauth: init at 0.7.0
This commit is contained in:
Sandro
2023-06-02 18:59:42 +02:00
committed by GitHub
2 changed files with 31 additions and 0 deletions
@@ -0,0 +1,29 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "git-credential-oauth";
version = "0.7.0";
src = fetchFromGitHub {
owner = "hickford";
repo = pname;
rev = "v${version}";
hash = "sha256-f12PgTtfs/S9RI8+QFROkNqccRWeIW1/YkynqvKJc7I=";
};
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
vendorHash = "sha256-9X7ti3NR5MKK0MpiyTOTO+EtdMuu4/TW/diHq9FjSHY=";
meta = {
description = "Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth";
homepage = "https://github.com/hickford/git-credential-oauth";
changelog = "https://github.com/hickford/git-credential-oauth/releases/tag/${src.rev}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ shyim ];
};
}
+2
View File
@@ -1982,6 +1982,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation;
};
git-credential-oauth = callPackage ../applications/version-management/git-credential-oauth { };
git-crypt = callPackage ../applications/version-management/git-crypt { };
git-delete-merged-branches = callPackage ../applications/version-management/git-delete-merged-branches { };