forked from mirrors/nixpkgs
lazygit: init at 0.4
This commit is contained in:
parent
2dcd512e74
commit
3e356b55dd
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 a new issue