nixpkgs/pkgs/development/tools/lazygit/default.nix

25 lines
611 B
Nix
Raw Normal View History

2018-10-11 07:17:57 -07:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
2019-06-23 10:09:11 -07:00
pname = "lazygit";
2020-03-10 02:20:00 -07:00
version = "0.16.2";
2018-10-11 07:17:57 -07:00
goPackagePath = "github.com/jesseduffield/lazygit";
2019-06-23 10:09:11 -07:00
subPackages = [ "." ];
2018-10-11 07:17:57 -07:00
src = fetchFromGitHub {
owner = "jesseduffield";
2019-06-23 10:09:11 -07:00
repo = pname;
2018-10-11 07:17:57 -07:00
rev = "v${version}";
2020-03-10 02:20:00 -07:00
sha256 = "0lvhj4iz74h97lkylqg7hl18xcxcl9msxxvap7jqdj2mf2iwxi32";
2018-10-11 07:17:57 -07:00
};
meta = with stdenv.lib; {
description = "Simple terminal UI for git commands";
2019-06-23 10:09:11 -07:00
homepage = "https://github.com/jesseduffield/lazygit";
2018-10-11 07:17:57 -07:00
license = licenses.mit;
2020-01-08 06:11:29 -08:00
maintainers = with maintainers; [ fpletz equirosa filalex77 ];
2018-10-11 07:17:57 -07:00
};
}