2022-01-03 00:48:28 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, libxml2, libxslt, python3, qt4 }:
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2017-04-30 10:29:45 +02:00
|
|
|
# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
|
|
|
|
let
|
2021-11-09 20:53:19 +01:00
|
|
|
pythonEnv = python3.withPackages (ps: with ps; [ sphinx ]);
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 20:42:54 +01:00
|
|
|
pname = "pyside-apiextractor";
|
|
|
|
version = "0.10.10";
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2022-01-03 00:48:28 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PySide";
|
|
|
|
repo = "Apiextractor";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-YH8aYyzv59xiIglZbdNgOPnmEQwNE2GmotAFFfFdMlg=";
|
2011-12-17 20:16:45 +00:00
|
|
|
};
|
|
|
|
|
2020-11-01 14:27:03 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cmakeFlagsArray=("-DCMAKE_INSTALL_PREFIX=$dev")
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pythonEnv ];
|
|
|
|
buildInputs = [ qt4 libxml2 libxslt ];
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2021-01-24 01:29:22 +01:00
|
|
|
meta = with lib; {
|
2011-12-17 20:16:45 +00:00
|
|
|
description = "Eases the development of bindings of Qt-based libraries for high level languages by automating most of the process";
|
2021-01-24 01:29:22 +01:00
|
|
|
license = licenses.gpl2;
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "http://www.pyside.org/docs/apiextractor/";
|
2019-02-22 16:14:13 +01:00
|
|
|
maintainers = [ ];
|
2021-01-24 01:29:22 +01:00
|
|
|
platforms = platforms.all;
|
2011-12-17 20:16:45 +00:00
|
|
|
};
|
|
|
|
}
|