at 18.09-beta 911 B view raw
1{ stdenv, fetchurl, cmake, libxml2, libxslt, 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 ]); 6in stdenv.mkDerivation { 7 name = "pyside-apiextractor-0.10.10"; 8 9 src = fetchurl { 10 url = "https://github.com/PySide/Apiextractor/archive/0.10.10.tar.gz"; 11 sha256 = "1zj8yrxy08iv1pk38djxw3faimm226w6wmi0gm32w4yczblylwz3"; 12 }; 13 14 enableParallelBuilding = true; 15 16 buildInputs = [ cmake qt4 pythonEnv libxml2 libxslt ]; 17 18 meta = { 19 description = "Eases the development of bindings of Qt-based libraries for high level languages by automating most of the process"; 20 license = stdenv.lib.licenses.gpl2; 21 homepage = http://www.pyside.org/docs/apiextractor/; 22 maintainers = [ stdenv.lib.maintainers.chaoflow ]; 23 platforms = stdenv.lib.platforms.all; 24 }; 25}