2018-10-11 15:17:57 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-06-23 18:09:11 +01:00
|
|
|
pname = "lazygit";
|
2020-01-10 10:34:37 +00:00
|
|
|
version = "0.13";
|
2018-10-11 15:17:57 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/jesseduffield/lazygit";
|
|
|
|
|
2019-06-23 18:09:11 +01:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2018-10-11 15:17:57 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jesseduffield";
|
2019-06-23 18:09:11 +01:00
|
|
|
repo = pname;
|
2018-10-11 15:17:57 +01:00
|
|
|
rev = "v${version}";
|
2020-01-10 10:34:37 +00:00
|
|
|
sha256 = "1illn4aqg4gyjnrh505f1s7blk826nqx6mc9i06i0fc1lw5jsxx1";
|
2018-10-11 15:17:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple terminal UI for git commands";
|
2019-06-23 18:09:11 +01:00
|
|
|
homepage = "https://github.com/jesseduffield/lazygit";
|
2018-10-11 15:17:57 +01:00
|
|
|
license = licenses.mit;
|
2020-01-08 14:11:29 +00:00
|
|
|
maintainers = with maintainers; [ fpletz equirosa filalex77 ];
|
2018-10-11 15:17:57 +01:00
|
|
|
};
|
|
|
|
}
|