2016-02-25 17:32:08 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gti";
|
2017-08-12 11:05:14 +02:00
|
|
|
version = "1.6.1";
|
2016-02-25 17:32:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rwos";
|
|
|
|
repo = "gti";
|
2017-08-12 11:05:14 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "19q3r4v22z2q1j4njap356f3mcq6kwh6v8nbbq2rw4x3cdxwdv51";
|
2016-02-25 17:32:08 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin $out/share/man/man6
|
|
|
|
cp gti $out/bin
|
|
|
|
cp gti.6 $out/share/man/man6
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://r-wos.org/hacks/gti;
|
|
|
|
license = licenses.mit;
|
|
|
|
description = "Humorous typo-based git runner; drives a car over the terminal";
|
|
|
|
maintainers = with maintainers; [ fadenb ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|