mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 21:44:49 +00:00
git-credential-oauth: init at 0.7.0
This commit is contained in:
parent
d0f6d734b2
commit
94923b5c84
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user