default.nix (655B)
1 { lib, stdenv, fetchFromGitHub, cmake, ftxui, subprocess }: 2 3 stdenv.mkDerivation rec { 4 pname = "git-tui"; 5 version = "1.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "ArthurSonzogni"; 9 repo = "git-tui"; 10 rev = "v${version}"; 11 hash = "sha256-RogDZeDgC7HanPd0I+BuU9CShUzaIqvH1R7/I1tAtG4="; 12 }; 13 14 patches = [ ./subprocess.patch ]; 15 16 nativeBuildInputs = [ cmake ]; 17 18 buildInputs = [ ftxui subprocess ]; 19 20 meta = with lib; { 21 description = "Collection of human friendly terminal interface for git"; 22 inherit (src.meta) homepage; 23 license = licenses.mit; 24 maintainers = [ maintainers.sikmir ]; 25 platforms = platforms.unix; 26 }; 27 }