doxygen: switch to python3

Also move the build-time dependencies to nativeBuildInputs, and drop perl as it no longer seems to be necessary (CMake is not looking for it any more).
This commit is contained in:
Jan Tojnar 2019-12-14 22:27:49 +01:00
parent 908db0502b
commit 239e4c1f06
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,4 +1,4 @@
{ stdenv, cmake, fetchurl, perl, python, flex, bison, qt4, CoreServices, libiconv }:
{ stdenv, cmake, fetchurl, python3, flex, bison, qt4, CoreServices, libiconv }:
stdenv.mkDerivation rec {
@ -12,11 +12,15 @@ stdenv.mkDerivation rec {
sha256 = "bd9c0ec462b6a9b5b41ede97bede5458e0d7bb40d4cfa27f6f622eb33c59245d";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [
cmake
python3
flex
bison
];
buildInputs =
[ perl python flex bison ]
++ stdenv.lib.optional (qt4 != null) qt4
stdenv.lib.optional (qt4 != null) qt4
++ stdenv.lib.optional stdenv.isSunOS libiconv
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices libiconv ];