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

25 lines
609 B
Nix
Raw Normal View History

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