mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
texi2html: modernize
This commit is contained in:
committed by
Eric Bailey
parent
d84a1526b1
commit
c7f63afcd6
@@ -8,13 +8,13 @@
|
||||
buildPackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "texi2html";
|
||||
version = "5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://savannah/texi2html/${pname}-${version}.tar.bz2";
|
||||
sha256 = "1yprv64vrlcbksqv25asplnjg07mbq38lfclp1m5lj8cw878pag8";
|
||||
url = "mirror://savannah/texi2html/texi2html-${finalAttrs.version}.tar.bz2";
|
||||
hash = "sha256-6KmLDuIMSVpquJQ5igZe9YAnLb1aFbGxnovRvInZ+fo=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
@@ -41,12 +41,12 @@ stdenv.mkDerivation rec {
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Perl script which converts Texinfo source files to HTML output";
|
||||
mainProgram = "texi2html";
|
||||
homepage = "https://www.nongnu.org/texi2html/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.marcweber ];
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ lib.maintainers.marcweber ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user