at 23.05-pre 1.0 kB view raw
1{ lib, stdenv, fetchFromGitHub, cmake, pysideApiextractor, python3, qt4 }: 2 3# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`. 4let 5 pythonEnv = python3.withPackages(ps: with ps; [ sphinx ]); 6in stdenv.mkDerivation rec { 7 pname = "pyside-generatorrunner"; 8 version = "0.6.16"; 9 10 src = fetchFromGitHub { 11 owner = "PySide"; 12 repo = "Generatorrunner"; 13 rev = version; 14 sha256 = "sha256-JAghKY033RTD5b2elitzVQbbN3PMmT3BHwpqx8N5EYg="; 15 }; 16 17 outputs = [ "out" "dev" ]; 18 19 preConfigure = '' 20 cmakeFlagsArray=("-DCMAKE_INSTALL_PREFIX=$dev") 21 ''; 22 23 nativeBuildInputs = [ cmake pythonEnv ]; 24 buildInputs = [ pysideApiextractor qt4 ]; 25 26 meta = with lib; { 27 description = "Eases the development of binding generators for C++ and Qt-based libraries by providing a framework to help automating most of the process"; 28 license = licenses.gpl2; 29 homepage = "http://www.pyside.org/docs/generatorrunner/"; 30 maintainers = [ ]; 31 platforms = platforms.all; 32 }; 33}