1{ lib, fetchurl, cmake, python, mkPythonDerivation, pysideGeneratorrunner, pysideShiboken, qt4 }:
2
3mkPythonDerivation rec {
4 name = "${python.libPrefix}-pyside-${version}";
5 version = "1.2.4";
6
7 src = fetchurl {
8 url = "https://github.com/PySide/PySide/archive/${version}.tar.gz";
9 sha256 = "90f2d736e2192ac69e5a2ac798fce2b5f7bf179269daa2ec262986d488c3b0f7";
10 };
11
12 enableParallelBuilding = true;
13
14 buildInputs = [ cmake pysideGeneratorrunner pysideShiboken qt4 ];
15
16 makeFlags = "QT_PLUGIN_PATH=" + pysideShiboken + "/lib/generatorrunner";
17
18 meta = {
19 description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
20 license = lib.licenses.lgpl21;
21 homepage = "http://www.pyside.org";
22 maintainers = [ lib.maintainers.chaoflow ];
23 platforms = lib.platforms.all;
24 };
25}