@@ -1,27 +1,24 @@
11{ stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
4− name = "lazygit-${version}";
5− version = "0.7.2";
4+ pname = "lazygit";
5+ version = "0.8";
66
77 goPackagePath = "github.com/jesseduffield/lazygit";
88
9+ subPackages = [ "." ];
10+
911 src = fetchFromGitHub {
1012 owner = "jesseduffield";
11− repo = "lazygit";
13+ repo = pname;
1214 rev = "v${version}";
13− sha256 = "1b5mzmxw715cx7b0n22hvrpk0dbavzypljc7skwmh8k1nlx935jj";
15+ sha256 = "0zynw5gr96a59x1qshzhhvld883ndf1plnw6l9dbhmff0wcfv6l1";
1416 };
1517
16− postPatch = ''
17− rm -rf scripts
18− '';
19−
2018 meta = with stdenv.lib; {
21− inherit (src.meta) homepage;
2219 description = "Simple terminal UI for git commands";
20+ homepage = "https://github.com/jesseduffield/lazygit";
2321 license = licenses.mit;
24− maintainers = with stdenv.lib.maintainers; [ fpletz ];
25− platforms = stdenv.lib.platforms.unix;
22+ maintainers = with maintainers; [ fpletz ];
2623 };
2724}