12 stdenv.mkDerivation rec {
17 url = "mirror://gnu/gtypist/gtypist-${version}.tar.xz";
18 sha256 = "0xzrkkmj0b1dw3yr0m9hml2y634cc4h61im6zwcq57s7285z8fn1";
21 CFLAGS = "-std=gnu89";
23 nativeBuildInputs = [ makeWrapper ];
28 ] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
31 wrapProgram "$out/bin/typefortune" \
32 --prefix PATH : "${fortune}/bin" \
36 homepage = "https://www.gnu.org/software/gtypist";
37 description = "Universal typing tutor";
38 license = licenses.gpl3Plus;
39 platforms = platforms.linux ++ platforms.darwin;
40 maintainers = with maintainers; [ pSub ];