Skip to content

Commit c7f63af

Browse files
FliegendeWurstyurrriq
authored andcommitted
texi2html: modernize
1 parent d84a152 commit c7f63af

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkgs/by-name/te/texi2html/package.nix

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
buildPackages,
99
}:
1010

11-
stdenv.mkDerivation rec {
11+
stdenv.mkDerivation (finalAttrs: {
1212
pname = "texi2html";
1313
version = "5.0";
1414

1515
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=";
1818
};
1919

2020
strictDeps = true;
@@ -41,12 +41,12 @@ stdenv.mkDerivation rec {
4141
versionCheckHook
4242
];
4343

44-
meta = with lib; {
44+
meta = {
4545
description = "Perl script which converts Texinfo source files to HTML output";
4646
mainProgram = "texi2html";
4747
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;
5151
};
52-
}
52+
})

0 commit comments

Comments
 (0)