git-credential-oauth: init at 0.7.0

This commit is contained in:
Soner Sayakci 2023-06-01 23:17:38 +02:00
parent d0f6d734b2
commit 94923b5c84
No known key found for this signature in database
2 changed files with 31 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -1980,6 +1980,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 { };