CastXML: refactor to avoid python2 dependency (#101996)

Switch pythonPackages.sphinx to python3Packages.sphinx. Should
only affect the build of the man-page.
This commit is contained in:
braunse 2020-10-29 10:01:18 +01:00 committed by GitHub
parent 2eb1610725
commit a74a5c9d92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub
, pythonPackages
, python3Packages
, cmake
, llvmPackages
, libffi, libxml2, zlib
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
sha256 = "0ypj67xrgj228myp7l1gsjw1ja97q68nmj98dsd33srmiayqraj4";
};
nativeBuildInputs = [ cmake ] ++ stdenv.lib.optionals withMan [ pythonPackages.sphinx ];
nativeBuildInputs = [ cmake ] ++ stdenv.lib.optionals withMan [ python3Packages.sphinx ];
clangVersion = lib.getVersion llvmPackages.clang;