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

28 lines
648 B
Nix
Raw Normal View History

2018-10-11 16:17:57 +02:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "lazygit-${version}";
2018-11-20 12:51:18 +01:00
version = "0.5";
2018-10-11 16:17:57 +02:00
goPackagePath = "github.com/jesseduffield/lazygit";
src = fetchFromGitHub {
owner = "jesseduffield";
repo = "lazygit";
rev = "v${version}";
2018-11-20 12:51:18 +01:00
sha256 = "0xgda2b5p26ya15kq83502f8vh18kl05hl40k0lsfqx3m7pnidn1";
2018-10-11 16:17:57 +02:00
};
postPatch = ''
rm -rf scripts
'';
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Simple terminal UI for git commands";
license = licenses.mit;
maintainers = with stdenv.lib.maintainers; [ fpletz ];
platforms = stdenv.lib.platforms.unix;
};
}