Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 964 B view raw
1{ stdenv, fetchurl, cmake, pysideApiextractor, python2, qt4 }: 2 3# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`. 4let 5 pythonEnv = python2.withPackages(ps: with ps; [ sphinx ]); 6 pname = "pyside-generatorrunner"; 7 version = "0.6.16"; 8in stdenv.mkDerivation { 9 name = "${pname}-${version}"; 10 11 src = fetchurl { 12 url = "https://github.com/PySide/Generatorrunner/archive/0.6.16.tar.gz"; 13 sha256 = "0vzk3cp0pfbhd921r8f1xkcz96znla39dhj074k623x9k26lj2sj"; 14 }; 15 16 enableParallelBuilding = true; 17 18 buildInputs = [ cmake pysideApiextractor qt4 pythonEnv ]; 19 20 meta = { 21 description = "Eases the development of binding generators for C++ and Qt-based libraries by providing a framework to help automating most of the process"; 22 license = stdenv.lib.licenses.gpl2; 23 homepage = "http://www.pyside.org/docs/generatorrunner/"; 24 maintainers = [ ]; 25 platforms = stdenv.lib.platforms.all; 26 }; 27}