Merge pull request #164372 from lockejan/git-team

This commit is contained in:
Sandro 2022-03-26 13:32:48 +01:00 committed by GitHub
commit bd14f9c03a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 0 deletions

View file

@ -7264,6 +7264,17 @@
githubId = 1267527;
name = "Daniel Firth";
};
lockejan = {
email = "git@smittie.de";
matrix = "@jan:smittie.de";
github = "lockejan";
githubId = 25434434;
name = "Jan Schmitt";
keys = [{
longkeyid = "dsa2048/0xA2BC3C6F14351991";
fingerprint = "1763 9903 2D7C 5B82 5D5A 0EAD A2BC 3C6F 1435 1991";
}];
};
lodi = {
email = "anthony.lodi@gmail.com";
github = "lodi";

View file

@ -0,0 +1,31 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
pname = "git-team";
version = "1.7.0";
src = fetchFromGitHub {
owner = "hekmekk";
repo = "git-team";
rev = "v${version}";
sha256 = "0nl5j64b61jw4bkf29y51svjbndmqqrqx96yaip4vjzj2dx9ywm4";
};
vendorSha256 = "sha256-xJMWPDuqoNtCCUnKuUvwlYztyrej1uZttC0NsDvYnXI=";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
go run main.go --generate-man-page > ${pname}.1
installManPage ${pname}.1
# Currently only bash completions are provided
installShellCompletion --cmd git-team --bash <($out/bin/git-team completion bash)
'';
meta = with lib; {
description = "Command line interface for managing and enhancing git commit messages with co-authors";
homepage = "https://github.com/hekmekk/git-team";
license = licenses.mit;
maintainers = with maintainers; [ lockejan ];
};
}

View file

@ -26229,6 +26229,8 @@ with pkgs;
git-review = python3Packages.callPackage ../applications/version-management/git-review { };
git-team = callPackage ../applications/version-management/git-and-tools/git-team { };
github-cli = gh;
gitolite = callPackage ../applications/version-management/gitolite { };