nixpkgs-suyu/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}";
version = "0.4";
goPackagePath = "github.com/jesseduffield/lazygit";
src = fetchFromGitHub {
owner = "jesseduffield";
repo = "lazygit";
rev = "v${version}";
sha256 = "0piljnwv778z7zc1pglkidiys1a3yv4d7z9wsrcj1nszlcn3ifyz";
};
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;
};
}