2016-02-25 16:32:08 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gti";
|
2020-02-12 12:36:58 +00:00
|
|
|
version = "1.7.0";
|
2016-02-25 16:32:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rwos";
|
|
|
|
repo = "gti";
|
2017-08-12 10:05:14 +01:00
|
|
|
rev = "v${version}";
|
2020-02-12 12:36:58 +00:00
|
|
|
sha256 = "1jivnjswlhwjfg5v9nwfg3vfssvqbdxxf9znwmfb5dgfblg9wxw9";
|
2016-02-25 16:32:08 +00: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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://r-wos.org/hacks/gti";
|
2016-02-25 16:32:08 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "Humorous typo-based git runner; drives a car over the terminal";
|
|
|
|
maintainers = with maintainers; [ fadenb ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|