nixpkgs/pkgs/development/tools/lazygit/default.nix
2020-01-08 16:10:19 +02:00

25 lines
601 B
Nix

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