forked from mirrors/nixpkgs
Merge pull request #164372 from lockejan/git-team
This commit is contained in:
commit
bd14f9c03a
|
@ -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";
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue