2021-01-23 16:29:22 -08:00
|
|
|
{ lib, stdenv, fetchurl, cmake, libxml2, libxslt, python3, qt4 }:
|
2011-12-17 12:16:45 -08:00
|
|
|
|
2017-04-30 01:29:45 -07:00
|
|
|
# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
|
|
|
|
let
|
2020-11-01 05:27:03 -08:00
|
|
|
pythonEnv = python3.withPackages(ps: with ps; [ sphinx ]);
|
2017-04-30 01:29:45 -07:00
|
|
|
in stdenv.mkDerivation {
|
2016-11-18 04:22:02 -08:00
|
|
|
name = "pyside-apiextractor-0.10.10";
|
2011-12-17 12:16:45 -08:00
|
|
|
|
2014-08-01 04:50:09 -07:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/PySide/Apiextractor/archive/0.10.10.tar.gz";
|
|
|
|
sha256 = "1zj8yrxy08iv1pk38djxw3faimm226w6wmi0gm32w4yczblylwz3";
|
2011-12-17 12:16:45 -08:00
|
|
|
};
|
|
|
|
|
2020-11-01 05:27:03 -08:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cmakeFlagsArray=("-DCMAKE_INSTALL_PREFIX=$dev")
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pythonEnv ];
|
|
|
|
buildInputs = [ qt4 libxml2 libxslt ];
|
2011-12-17 12:16:45 -08:00
|
|
|
|
2021-01-23 16:29:22 -08:00
|
|
|
meta = with lib; {
|
2011-12-17 12:16:45 -08:00
|
|
|
description = "Eases the development of bindings of Qt-based libraries for high level languages by automating most of the process";
|
2021-01-23 16:29:22 -08:00
|
|
|
license = licenses.gpl2;
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.pyside.org/docs/apiextractor/";
|
2019-02-22 07:14:13 -08:00
|
|
|
maintainers = [ ];
|
2021-01-23 16:29:22 -08:00
|
|
|
platforms = platforms.all;
|
2011-12-17 12:16:45 -08:00
|
|
|
};
|
|
|
|
}
|