Merge pull request #128207 from yusdacra/update-turbogit

turbogit: 1.2.0 -> 2.0.0

authored by

Robert Scott and committed by
GitHub
3c9af50b 88e37bb4

+7 -5
+7 -5
pkgs/development/tools/turbogit/default.nix
··· 1 - { fetchFromGitHub, buildGoModule, lib, installShellFiles }: 1 + { fetchFromGitHub, buildGoModule, lib, installShellFiles, libgit2, pkg-config }: 2 2 buildGoModule rec { 3 3 pname = "turbogit"; 4 - version = "1.2.0"; 4 + version = "2.0.0"; 5 5 6 6 src = fetchFromGitHub { 7 7 owner = "b4nst"; 8 8 repo = pname; 9 9 rev = "v${version}"; 10 - sha256 = "sha256-alVgXnsoC2nmUe6i/l0ttUjoXpKLHr0n/7p6WbIIGBU="; 10 + sha256 = "sha256-UIPI1r6BnfD5ukk5yGg3VJHMyaMp30MXhJfOkoNT6vs="; 11 11 }; 12 12 13 - vendorSha256 = "sha256-6fxbxpROYiNw5SYdQAIdy5NfqzOcFfAlJ+vTQyFtink="; 13 + vendorSha256 = "sha256-SX0VPENcfw8ysL+dDGPSJ/FNdyecjENx4+UHXdu71O8="; 14 14 15 15 subPackages = [ "." ]; 16 16 17 - nativeBuildInputs = [ installShellFiles ]; 17 + buildInputs = [ libgit2 ]; 18 + nativeBuildInputs = [ installShellFiles pkg-config ]; 18 19 postInstall = '' 19 20 # Move turbogit binary to tug 20 21 ln -s $out/bin/turbogit $out/bin/tug ··· 37 38 ''; 38 39 homepage = "https://b4nst.github.io/turbogit"; 39 40 license = licenses.mit; 41 + platforms = platforms.linux ++ platforms.darwin; 40 42 maintainers = [ maintainers.yusdacra ]; 41 43 }; 42 44 }