newsboat: Switch to asciidoctor from asciidoc

This commit is contained in:
Doron Behar 2020-03-23 10:12:19 +02:00
parent bde4257fbd
commit b3c6743113

View File

@ -1,5 +1,5 @@
{ stdenv, rustPlatform, fetchFromGitHub, stfl, sqlite, curl, gettext, pkgconfig, libxml2, json_c, ncurses { stdenv, rustPlatform, fetchFromGitHub, stfl, sqlite, curl, gettext, pkgconfig, libxml2, json_c, ncurses
, asciidoc, docbook_xml_dtd_45, libxslt, docbook_xsl, libiconv, Security, makeWrapper }: , asciidoctor, libiconv, Security, makeWrapper }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "newsboat"; pname = "newsboat";
@ -21,7 +21,10 @@ rustPlatform.buildRustPackage rec {
--replace "ncurses5.4" "ncurses" --replace "ncurses5.4" "ncurses"
''; '';
nativeBuildInputs = [ pkgconfig asciidoc docbook_xml_dtd_45 libxslt docbook_xsl ] nativeBuildInputs = [
pkgconfig
asciidoctor
]
++ stdenv.lib.optionals stdenv.isDarwin [ makeWrapper libiconv ]; ++ stdenv.lib.optionals stdenv.isDarwin [ makeWrapper libiconv ];
buildInputs = [ stfl sqlite curl gettext libxml2 json_c ncurses ] buildInputs = [ stfl sqlite curl gettext libxml2 json_c ncurses ]