git.iko.soy/typeable/nixpkgs
on master help sign in
lazygit: init at 0.4
commit3e356b55dde193545e89492f50c1364b84f7a526 authorFranz Pletz <fpletz@fnordicwalking.de> dateThu 11 Oct 2018, 16:17 (8 years ago) parent2dcd512
2 files changed+29
pkgs/development/tools/lazygit/default.nix+27 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/lazygit/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "lazygit-${version}";
5+ version = "0.4";
6+
7+ goPackagePath = "github.com/jesseduffield/lazygit";
8+
9+ src = fetchFromGitHub {
10+ owner = "jesseduffield";
11+ repo = "lazygit";
12+ rev = "v${version}";
13+ sha256 = "0piljnwv778z7zc1pglkidiys1a3yv4d7z9wsrcj1nszlcn3ifyz";
14+ };
15+
16+ postPatch = ''
17+ rm -rf scripts
18+ '';
19+
20+ meta = with stdenv.lib; {
21+ inherit (src.meta) homepage;
22+ description = "Simple terminal UI for git commands";
23+ license = licenses.mit;
24+ maintainers = with stdenv.lib.maintainers; [ fpletz ];
25+ platforms = stdenv.lib.platforms.unix;
26+ };
27+}
pkgs/top-level/all-packages.nix+2
@@ -8558,6 +8558,8 @@ with pkgs;
85588558
85598559 kythe = callPackage ../development/tools/kythe { };
85608560
8561+ lazygit = callPackage ../development/tools/lazygit { };
8562+
85618563 Literate = callPackage ../development/tools/literate-programming/Literate {};
85628564
85638565 lcov = callPackage ../development/tools/analysis/lcov { };