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

28 lines
650 B
Nix
Raw Normal View History

2018-10-11 15:17:57 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "lazygit-${version}";
2019-03-25 13:03:30 +00:00
version = "0.7.2";
2018-10-11 15:17:57 +01:00
goPackagePath = "github.com/jesseduffield/lazygit";
src = fetchFromGitHub {
owner = "jesseduffield";
repo = "lazygit";
rev = "v${version}";
2019-03-25 13:03:30 +00:00
sha256 = "1b5mzmxw715cx7b0n22hvrpk0dbavzypljc7skwmh8k1nlx935jj";
2018-10-11 15:17:57 +01: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;
};
}