1 { lib, stdenv, fetchurl, cmake, libxml2, libxslt, python3, qt4 }:
3 # This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
5 pythonEnv = python3.withPackages(ps: with ps; [ sphinx ]);
6 in stdenv.mkDerivation {
7 name = "pyside-apiextractor-0.10.10";
10 url = "https://github.com/PySide/Apiextractor/archive/0.10.10.tar.gz";
11 sha256 = "1zj8yrxy08iv1pk38djxw3faimm226w6wmi0gm32w4yczblylwz3";
14 outputs = [ "out" "dev" ];
17 cmakeFlagsArray=("-DCMAKE_INSTALL_PREFIX=$dev")
20 nativeBuildInputs = [ cmake pythonEnv ];
21 buildInputs = [ qt4 libxml2 libxslt ];
24 description = "Eases the development of bindings of Qt-based libraries for high level languages by automating most of the process";
25 license = licenses.gpl2;
26 homepage = "http://www.pyside.org/docs/apiextractor/";
28 platforms = platforms.all;