texi2html: modernize

authored by FliegendeWurst and committed by Eric Bailey c7f63afc d84a1526

+8 -8
+8 -8
pkgs/by-name/te/texi2html/package.nix
··· 8 8 buildPackages, 9 9 }: 10 10 11 - stdenv.mkDerivation rec { 11 + stdenv.mkDerivation (finalAttrs: { 12 12 pname = "texi2html"; 13 13 version = "5.0"; 14 14 15 15 src = fetchurl { 16 - url = "mirror://savannah/texi2html/${pname}-${version}.tar.bz2"; 17 - sha256 = "1yprv64vrlcbksqv25asplnjg07mbq38lfclp1m5lj8cw878pag8"; 16 + url = "mirror://savannah/texi2html/texi2html-${finalAttrs.version}.tar.bz2"; 17 + hash = "sha256-6KmLDuIMSVpquJQ5igZe9YAnLb1aFbGxnovRvInZ+fo="; 18 18 }; 19 19 20 20 strictDeps = true; ··· 41 41 versionCheckHook 42 42 ]; 43 43 44 - meta = with lib; { 44 + meta = { 45 45 description = "Perl script which converts Texinfo source files to HTML output"; 46 46 mainProgram = "texi2html"; 47 47 homepage = "https://www.nongnu.org/texi2html/"; 48 - license = licenses.gpl2; 49 - maintainers = [ maintainers.marcweber ]; 50 - platforms = platforms.unix; 48 + license = lib.licenses.gpl3Plus; 49 + maintainers = [ lib.maintainers.marcweber ]; 50 + platforms = lib.platforms.unix; 51 51 }; 52 - } 52 + })