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