summary refs log tree commit diff
path: root/pkgs/development/tools/turbogit
diff options
context:
space:
mode:
authorYusuf Bera Ertan <y.bera003.06@protonmail.com>2021-06-26 17:42:45 +0300
committerYusuf Bera Ertan <y.bera003.06@protonmail.com>2021-06-26 17:42:45 +0300
commit861f32cf0d6b92b508c540945afe5dd7f7faba86 (patch)
treefa06a3ab7e1f4e081a47128f99f2873ccc3d8194 /pkgs/development/tools/turbogit
parentff5542ccef7f995fc99279478ce0b91d05987f1b (diff)
downloadnixpkgs-861f32cf0d6b92b508c540945afe5dd7f7faba86.tar
nixpkgs-861f32cf0d6b92b508c540945afe5dd7f7faba86.tar.gz
nixpkgs-861f32cf0d6b92b508c540945afe5dd7f7faba86.tar.bz2
nixpkgs-861f32cf0d6b92b508c540945afe5dd7f7faba86.tar.lz
nixpkgs-861f32cf0d6b92b508c540945afe5dd7f7faba86.tar.xz
nixpkgs-861f32cf0d6b92b508c540945afe5dd7f7faba86.tar.zst
nixpkgs-861f32cf0d6b92b508c540945afe5dd7f7faba86.zip
turbogit: 1.2.0 -> 2.0.0
Diffstat (limited to 'pkgs/development/tools/turbogit')
-rw-r--r--pkgs/development/tools/turbogit/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/tools/turbogit/default.nix b/pkgs/development/tools/turbogit/default.nix
index 68bd1068354..7d3e88f6cb4 100644
--- a/pkgs/development/tools/turbogit/default.nix
+++ b/pkgs/development/tools/turbogit/default.nix
@@ -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 ];
   };
 }