2020-11-03 02:18:15 +00:00
|
|
|
{ stdenv, fetchurl, cmake, pysideApiextractor, python3, qt4 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
|
|
|
|
let
|
2020-11-03 02:18:15 +00:00
|
|
|
pythonEnv = python3.withPackages(ps: with ps; [ sphinx ]);
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "pyside-generatorrunner";
|
|
|
|
version = "0.6.16";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/PySide/Generatorrunner/archive/0.6.16.tar.gz";
|
|
|
|
sha256 = "0vzk3cp0pfbhd921r8f1xkcz96znla39dhj074k623x9k26lj2sj";
|
|
|
|
};
|
|
|
|
|
2020-11-03 02:18:15 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cmakeFlagsArray=("-DCMAKE_INSTALL_PREFIX=$dev")
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pythonEnv ];
|
|
|
|
buildInputs = [ pysideApiextractor qt4 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Eases the development of binding generators for C++ and Qt-based libraries by providing a framework to help automating most of the process";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
homepage = "http://www.pyside.org/docs/generatorrunner/";
|
|
|
|
maintainers = [ ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|