From 0be4e0cca73a80e34f80dc8d5feaf26f2dc37efa Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 23 Jun 2019 12:09:11 -0500 Subject: [PATCH] lazygit: 0.7.2 -> 0.8 --- pkgs/development/tools/lazygit/default.nix | 19 ++++++++----------- 1 file 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 ]; }; }