1 { lib, stdenv, fetchurl, cmake, pysideApiextractor, 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 pname = "pyside-generatorrunner";
8 in stdenv.mkDerivation {
9 name = "${pname}-${version}";
12 url = "https://github.com/PySide/Generatorrunner/archive/0.6.16.tar.gz";
13 sha256 = "0vzk3cp0pfbhd921r8f1xkcz96znla39dhj074k623x9k26lj2sj";
16 outputs = [ "out" "dev" ];
19 cmakeFlagsArray=("-DCMAKE_INSTALL_PREFIX=$dev")
22 nativeBuildInputs = [ cmake pythonEnv ];
23 buildInputs = [ pysideApiextractor qt4 ];
26 description = "Eases the development of binding generators for C++ and Qt-based libraries by providing a framework to help automating most of the process";
27 license = licenses.gpl2;
28 homepage = "http://www.pyside.org/docs/generatorrunner/";
30 platforms = platforms.all;