pyside: fix on Python 3.x, closes #25328
Pyside requires several tools that do not provide Python modules. They therefore do not need to be build Python-version dependent and so we move them out of `python-packages.nix`. Furthermore, shiboken needs libxml2 and libxslt libraries but not their Python bindings.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
{ stdenv, fetchurl, cmake, libxml2, libxslt, python, sphinx, qt4 }:
|
||||
{ stdenv, fetchurl, cmake, libxml2, libxslt, python2, qt4 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
|
||||
let
|
||||
pythonEnv = python2.withPackages(ps: with ps; [ sphinx ]);
|
||||
in stdenv.mkDerivation {
|
||||
name = "pyside-apiextractor-0.10.10";
|
||||
|
||||
src = fetchurl {
|
||||
@@ -10,7 +13,7 @@ stdenv.mkDerivation {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ cmake libxml2 libxslt sphinx qt4 ];
|
||||
buildInputs = [ cmake qt4 pythonEnv libxml2 libxslt ];
|
||||
|
||||
meta = {
|
||||
description = "Eases the development of bindings of Qt-based libraries for high level languages by automating most of the process";
|
||||
|
||||
Reference in New Issue
Block a user