nixpkgs/pkgs/development/python-modules/pyside/generatorrunner.nix
Frederik Rietdijk a4aaf5adfd 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.
2017-04-30 10:33:19 +02:00

28 lines
1000 B
Nix

{ stdenv, fetchurl, cmake, pysideApiextractor, python2, qt4 }:
# 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 rec {
pname = "pyside-generatorrunner";
version = "0.6.16";
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/PySide/Generatorrunner/archive/0.6.16.tar.gz";
sha256 = "0vzk3cp0pfbhd921r8f1xkcz96znla39dhj074k623x9k26lj2sj";
};
enableParallelBuilding = true;
buildInputs = [ cmake pysideApiextractor qt4 pythonEnv ];
meta = {
description = "Eases the development of binding generators for C++ and Qt-based libraries by providing a framework to help automating most of the process";
license = stdenv.lib.licenses.gpl2;
homepage = "http://www.pyside.org/docs/generatorrunner/";
maintainers = [ stdenv.lib.maintainers.chaoflow ];
platforms = stdenv.lib.platforms.all;
};
}