Merge pull request #48213 from mayflower/pkg/lazygit

lazygit: init at 0.4
This commit is contained in:
Jörg Thalheim 2018-10-11 17:07:33 +01:00 committed by GitHub
commit ee79ea0274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ 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;
};
}

View File

@ -8558,6 +8558,8 @@ with pkgs;
kythe = callPackage ../development/tools/kythe { };
lazygit = callPackage ../development/tools/lazygit { };
Literate = callPackage ../development/tools/literate-programming/Literate {};
lcov = callPackage ../development/tools/analysis/lcov { };