7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
15 sha256 = "sha256-DUDCFcaB38Xkp3lLfEhjGC0j430dphXFBVhGzm7/Bp0=";
19 substituteInPlace Makefile --replace 'CC=cc' 'CC=${stdenv.cc.targetPrefix}cc'
27 install -D gti $out/bin/gti
29 installShellCompletion --cmd gti \
30 --bash completions/gti.bash \
31 --zsh completions/gti.zsh
35 homepage = "https://r-wos.org/hacks/gti";
36 license = licenses.mit;
37 description = "Humorous typo-based git runner; drives a car over the terminal";
38 maintainers = with maintainers; [ fadenb ];
39 platforms = platforms.unix;