about summary refs log tree commit diff
path: root/pkgs/development/tools/lazygit/default.nix
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-06-23 12:09:11 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-06-23 12:09:11 -0500
commit0be4e0cca73a80e34f80dc8d5feaf26f2dc37efa (patch)
tree001b4e5eda90c5cbbba30c50f4938a323f1095ec /pkgs/development/tools/lazygit/default.nix
parentaa54135d2cc96c3767c1d775d867ba5fd3012bb6 (diff)
downloadnixlib-0be4e0cca73a80e34f80dc8d5feaf26f2dc37efa.tar
nixlib-0be4e0cca73a80e34f80dc8d5feaf26f2dc37efa.tar.gz
nixlib-0be4e0cca73a80e34f80dc8d5feaf26f2dc37efa.tar.bz2
nixlib-0be4e0cca73a80e34f80dc8d5feaf26f2dc37efa.tar.lz
nixlib-0be4e0cca73a80e34f80dc8d5feaf26f2dc37efa.tar.xz
nixlib-0be4e0cca73a80e34f80dc8d5feaf26f2dc37efa.tar.zst
nixlib-0be4e0cca73a80e34f80dc8d5feaf26f2dc37efa.zip
lazygit: 0.7.2 -> 0.8
Diffstat (limited to 'pkgs/development/tools/lazygit/default.nix')
-rw-r--r--pkgs/development/tools/lazygit/default.nix19
1 files changed, 8 insertions, 11 deletions
diff --git a/pkgs/development/tools/lazygit/default.nix b/pkgs/development/tools/lazygit/default.nix
index d142078c50fa..f91938fb62e3 100644
--- a/pkgs/development/tools/lazygit/default.nix
+++ b/pkgs/development/tools/lazygit/default.nix
@@ -1,27 +1,24 @@
 { stdenv, buildGoPackage, fetchFromGitHub }:
 
 buildGoPackage rec {
-  name = "lazygit-${version}";
-  version = "0.7.2";
+  pname = "lazygit";
+  version = "0.8";
 
   goPackagePath = "github.com/jesseduffield/lazygit";
 
+  subPackages = [ "." ];
+
   src = fetchFromGitHub {
     owner = "jesseduffield";
-    repo = "lazygit";
+    repo = pname;
     rev = "v${version}";
-    sha256 = "1b5mzmxw715cx7b0n22hvrpk0dbavzypljc7skwmh8k1nlx935jj";
+    sha256 = "0zynw5gr96a59x1qshzhhvld883ndf1plnw6l9dbhmff0wcfv6l1";
   };
 
-  postPatch = ''
-    rm -rf scripts
-  '';
-
   meta = with stdenv.lib; {
-    inherit (src.meta) homepage;
     description = "Simple terminal UI for git commands";
+    homepage = "https://github.com/jesseduffield/lazygit";
     license = licenses.mit;
-    maintainers = with stdenv.lib.maintainers; [ fpletz ];
-    platforms = stdenv.lib.platforms.unix;
+    maintainers = with maintainers; [ fpletz ];
   };
 }