Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 27 lines 648 B view raw
1{ stdenv, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage rec { 4 name = "lazygit-${version}"; 5 version = "0.5"; 6 7 goPackagePath = "github.com/jesseduffield/lazygit"; 8 9 src = fetchFromGitHub { 10 owner = "jesseduffield"; 11 repo = "lazygit"; 12 rev = "v${version}"; 13 sha256 = "0xgda2b5p26ya15kq83502f8vh18kl05hl40k0lsfqx3m7pnidn1"; 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}