1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-x6ncvnZPPrVcQYwtwkSenW+ri0L6FpuDa7U7uYUqiyk=";
15 substituteInPlace Makefile --replace 'CC=cc' 'CC=${stdenv.cc.targetPrefix}cc'
19 mkdir -p $out/bin $out/share/man/man6
21 cp gti.6 $out/share/man/man6
25 homepage = "https://r-wos.org/hacks/gti";
26 license = licenses.mit;
27 description = "Humorous typo-based git runner; drives a car over the terminal";
28 maintainers = with maintainers; [ fadenb ];
29 platforms = platforms.unix;