nixpkgs/pkgs/development/tools/lazygit/default.nix
2019-06-23 12:09:11 -05:00

25 lines
589 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "lazygit";
version = "0.8";
goPackagePath = "github.com/jesseduffield/lazygit";
subPackages = [ "." ];
src = fetchFromGitHub {
owner = "jesseduffield";
repo = pname;
rev = "v${version}";
sha256 = "0zynw5gr96a59x1qshzhhvld883ndf1plnw6l9dbhmff0wcfv6l1";
};
meta = with stdenv.lib; {
description = "Simple terminal UI for git commands";
homepage = "https://github.com/jesseduffield/lazygit";
license = licenses.mit;
maintainers = with maintainers; [ fpletz ];
};
}