gtypist: 2.9.5 -> 2.10.1 (#402836)

authored by Pol Dellaiera and committed by GitHub 3bc86d1d ff55f87a

+11 -10
+11 -10
pkgs/by-name/gt/gtypist/package.nix
··· 9 9 fortune, 10 10 }: 11 11 12 - stdenv.mkDerivation rec { 12 + stdenv.mkDerivation (finalAttrs: { 13 13 pname = "gtypist"; 14 - version = "2.9.5"; 14 + version = "2.10.1"; 15 15 16 16 src = fetchurl { 17 - url = "mirror://gnu/gtypist/gtypist-${version}.tar.xz"; 18 - sha256 = "0xzrkkmj0b1dw3yr0m9hml2y634cc4h61im6zwcq57s7285z8fn1"; 17 + url = "mirror://gnu/gtypist/gtypist-${finalAttrs.version}.tar.xz"; 18 + hash = "sha256-ymGAVOkfHtXvBD/MQ1ALutcByVnDGETUaI/yKEmsJS0="; 19 19 }; 20 20 21 - CFLAGS = "-std=gnu89"; 21 + CFLAGS = "-std=gnu99"; 22 22 23 23 nativeBuildInputs = [ makeWrapper ]; 24 + 24 25 buildInputs = [ 25 26 ncurses 26 27 perl ··· 32 33 --prefix PATH : "${fortune}/bin" \ 33 34 ''; 34 35 35 - meta = with lib; { 36 + meta = { 36 37 homepage = "https://www.gnu.org/software/gtypist"; 37 38 description = "Universal typing tutor"; 38 - license = licenses.gpl3Plus; 39 - platforms = platforms.linux ++ platforms.darwin; 40 - maintainers = with maintainers; [ pSub ]; 39 + license = lib.licenses.gpl3Plus; 40 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 41 + maintainers = with lib.maintainers; [ pSub ]; 41 42 }; 42 - } 43 + })