aria2: Add sphinx build dependency to generate man pages

This commit is contained in:
Albert Safin 2019-03-31 15:51:17 +00:00
parent c637aeff19
commit c8dd7d49e7
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchpatch, fetchFromGitHub, pkgconfig, autoreconfHook { stdenv, fetchpatch, fetchFromGitHub, pkgconfig, autoreconfHook
, openssl, c-ares, libxml2, sqlite, zlib, libssh2 , openssl, c-ares, libxml2, sqlite, zlib, libssh2
, cppunit , cppunit, sphinx
, Security , Security
}: }:
@ -23,13 +23,17 @@ stdenv.mkDerivation rec {
}) })
]; ];
nativeBuildInputs = [ pkgconfig autoreconfHook ]; nativeBuildInputs = [ pkgconfig autoreconfHook sphinx ];
buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++ buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++
stdenv.lib.optional stdenv.isDarwin Security; stdenv.lib.optional stdenv.isDarwin Security;
configureFlags = [ "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" ]; configureFlags = [ "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" ];
prePatch = ''
patchShebangs doc/manual-src/en/mkapiref.py
'';
checkInputs = [ cppunit ]; checkInputs = [ cppunit ];
doCheck = false; # needs the net doCheck = false; # needs the net

View File

@ -858,6 +858,7 @@ in
aria2 = callPackage ../tools/networking/aria2 { aria2 = callPackage ../tools/networking/aria2 {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
inherit (pythonPackages) sphinx;
}; };
aria = aria2; aria = aria2;