Merge pull request #63694 from marsam/update-lazygit

lazygit: 0.7.2 -> 0.8
This commit is contained in:
Mario Rodas 2019-06-24 09:34:33 -05:00 committed by GitHub
commit bdc4d57ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,27 +1,24 @@
{ stdenv, buildGoPackage, fetchFromGitHub }: { stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec { buildGoPackage rec {
name = "lazygit-${version}"; pname = "lazygit";
version = "0.7.2"; version = "0.8";
goPackagePath = "github.com/jesseduffield/lazygit"; goPackagePath = "github.com/jesseduffield/lazygit";
subPackages = [ "." ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jesseduffield"; owner = "jesseduffield";
repo = "lazygit"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1b5mzmxw715cx7b0n22hvrpk0dbavzypljc7skwmh8k1nlx935jj"; sha256 = "0zynw5gr96a59x1qshzhhvld883ndf1plnw6l9dbhmff0wcfv6l1";
}; };
postPatch = ''
rm -rf scripts
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Simple terminal UI for git commands"; description = "Simple terminal UI for git commands";
homepage = "https://github.com/jesseduffield/lazygit";
license = licenses.mit; license = licenses.mit;
maintainers = with stdenv.lib.maintainers; [ fpletz ]; maintainers = with maintainers; [ fpletz ];
platforms = stdenv.lib.platforms.unix;
}; };
} }