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

25 lines
589 B
Nix
Raw Normal View History

2018-10-11 15:17:57 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
2019-06-23 18:09:11 +01:00
pname = "lazygit";
version = "0.8";
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}";
2019-06-23 18:09:11 +01:00
sha256 = "0zynw5gr96a59x1qshzhhvld883ndf1plnw6l9dbhmff0wcfv6l1";
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;
2019-06-23 18:09:11 +01:00
maintainers = with maintainers; [ fpletz ];
2018-10-11 15:17:57 +01:00
};
}