htmldoc: 1.8.29 -> 1.9.11 (#119226)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
LeSuisse 2021-04-15 02:37:46 +02:00 committed by GitHub
parent 2f6a9bb297
commit dcdf30a78a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,29 +1,23 @@
{ lib, stdenv, fetchurl { lib, stdenv, fetchFromGitHub, zlib, libpng, SystemConfiguration, Foundation }:
, SystemConfiguration ? null, Foundation ? null
}:
assert stdenv.isDarwin -> SystemConfiguration != null
&& Foundation != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.8.29";
pname = "htmldoc"; pname = "htmldoc";
src = fetchurl { version = "1.9.11";
url = "https://github.com/michaelrsweet/htmldoc/releases/download" src = fetchFromGitHub {
+ "/release-${version}/htmldoc-${version}-source.tar.gz"; owner = "michaelrsweet";
sha256 = "15x0xdf487j4i4gfap5yr83airxnbp2v4lxaz79a4s3iirrq39p0"; repo = "htmldoc";
rev = "v${version}";
sha256 = "0660829zjfdm6vzx14z7gvsfipsb7h0z74gbkyp2ncg3g2432s4n";
}; };
buildInputs = with stdenv; buildInputs = [ zlib libpng ]
lib.optional isDarwin SystemConfiguration ++ lib.optionals stdenv.isDarwin [ Foundation SystemConfiguration ];
++ lib.optional isDarwin Foundation;
meta = with lib; { meta = with lib; {
description = "Converts HTML files to PostScript and PDF"; description = "Converts HTML files to PostScript and PDF";
homepage = "https://michaelrsweet.github.io/htmldoc"; homepage = "https://michaelrsweet.github.io/htmldoc";
license = licenses.gpl2; license = licenses.gpl2Only;
maintainers = with maintainers; [ shanemikel ]; maintainers = with maintainers; [ shanemikel ];
platforms = with platforms; linux ++ darwin; platforms = platforms.unix;
longDescription = '' longDescription = ''
HTMLDOC is a program that reads HTML source files or web pages and HTMLDOC is a program that reads HTML source files or web pages and