Merge pull request #48213 from mayflower/pkg/lazygit
lazygit: init at 0.4
This commit is contained in:
commit
ee79ea0274
27
pkgs/development/tools/lazygit/default.nix
Normal file
27
pkgs/development/tools/lazygit/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user