2017-04-30 09:29:45 +01:00
|
|
|
{ stdenv, fetchurl, cmake, libxml2, libxslt, python2, qt4 }:
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2017-04-30 09:29:45 +01:00
|
|
|
# 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 {
|
2016-11-18 12:22:02 +00:00
|
|
|
name = "pyside-apiextractor-0.10.10";
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2014-08-01 12:50:09 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/PySide/Apiextractor/archive/0.10.10.tar.gz";
|
|
|
|
sha256 = "1zj8yrxy08iv1pk38djxw3faimm226w6wmi0gm32w4yczblylwz3";
|
2011-12-17 20:16:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-04-30 09:29:45 +01:00
|
|
|
buildInputs = [ cmake qt4 pythonEnv libxml2 libxslt ];
|
2011-12-17 20:16:45 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Eases the development of bindings of Qt-based libraries for high level languages by automating most of the process";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.pyside.org/docs/apiextractor/;
|
2011-12-17 20:16:45 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.chaoflow ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|