mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #128207 from yusdacra/update-turbogit
turbogit: 1.2.0 -> 2.0.0
This commit is contained in:
commit
3c9af50b8c
1 changed files with 7 additions and 5 deletions
|
@ -1,20 +1,21 @@
|
|||
{ fetchFromGitHub, buildGoModule, lib, installShellFiles }:
|
||||
{ fetchFromGitHub, buildGoModule, lib, installShellFiles, libgit2, pkg-config }:
|
||||
buildGoModule rec {
|
||||
pname = "turbogit";
|
||||
version = "1.2.0";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "b4nst";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-alVgXnsoC2nmUe6i/l0ttUjoXpKLHr0n/7p6WbIIGBU=";
|
||||
sha256 = "sha256-UIPI1r6BnfD5ukk5yGg3VJHMyaMp30MXhJfOkoNT6vs=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-6fxbxpROYiNw5SYdQAIdy5NfqzOcFfAlJ+vTQyFtink=";
|
||||
vendorSha256 = "sha256-SX0VPENcfw8ysL+dDGPSJ/FNdyecjENx4+UHXdu71O8=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
buildInputs = [ libgit2 ];
|
||||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||
postInstall = ''
|
||||
# Move turbogit binary to tug
|
||||
ln -s $out/bin/turbogit $out/bin/tug
|
||||
|
@ -37,6 +38,7 @@ buildGoModule rec {
|
|||
'';
|
||||
homepage = "https://b4nst.github.io/turbogit";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = [ maintainers.yusdacra ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue