2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, ncurses }:
|
2014-06-03 02:41:35 +00:00
|
|
|
|
2021-06-22 21:44:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "typespeed";
|
|
|
|
version = "0.6.5";
|
2014-06-03 02:41:35 +00:00
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
src = fetchurl {
|
2021-06-22 21:44:58 +00:00
|
|
|
url = "http://typespeed.sourceforge.net/typespeed-${version}.tar.gz";
|
2014-06-03 02:41:35 +00:00
|
|
|
sha256 = "5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961";
|
|
|
|
};
|
2014-06-09 04:44:06 +00:00
|
|
|
|
|
|
|
patches = [ ./typespeed-config-in-home.patch ];
|
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [ "--datadir=\${out}/share/" ];
|
|
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
2014-06-09 05:19:06 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A curses based typing game";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://typespeed.sourceforge.net/";
|
2016-04-27 02:06:35 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.auntie ];
|
2014-06-09 05:19:06 +00:00
|
|
|
};
|
2014-06-03 02:41:35 +00:00
|
|
|
}
|