nixpkgs-suyu/pkgs/development/python-modules/pyside/generatorrunner.nix

28 lines
998 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, pysideApiextractor, python2, qt4 }:
# This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
let
pythonEnv = python2.withPackages(ps: with ps; [ sphinx ]);
in stdenv.mkDerivation rec {
pname = "pyside-generatorrunner";
version = "0.6.16";
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/PySide/Generatorrunner/archive/0.6.16.tar.gz";
sha256 = "0vzk3cp0pfbhd921r8f1xkcz96znla39dhj074k623x9k26lj2sj";
};
enableParallelBuilding = true;
buildInputs = [ cmake pysideApiextractor qt4 pythonEnv ];
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 = [ stdenv.lib.maintainers.chaoflow ];
platforms = stdenv.lib.platforms.all;
};
}