2016-09-01 16:11:04 +01:00
|
|
|
{ lib, fetchurl, cmake, python, mkPythonDerivation, pysideGeneratorrunner, pysideShiboken, qt4 }:
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2016-09-01 16:11:04 +01:00
|
|
|
mkPythonDerivation rec {
|
2015-12-10 20:39:11 +00:00
|
|
|
name = "${python.libPrefix}-pyside-${version}";
|
|
|
|
version = "1.2.4";
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2014-08-01 12:50:09 +01:00
|
|
|
src = fetchurl {
|
2015-12-10 20:39:11 +00:00
|
|
|
url = "https://github.com/PySide/PySide/archive/${version}.tar.gz";
|
|
|
|
sha256 = "90f2d736e2192ac69e5a2ac798fce2b5f7bf179269daa2ec262986d488c3b0f7";
|
2011-12-17 20:16:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
buildInputs = [ cmake pysideGeneratorrunner pysideShiboken qt4 ];
|
|
|
|
|
|
|
|
makeFlags = "QT_PLUGIN_PATH=" + pysideShiboken + "/lib/generatorrunner";
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
|
2016-09-01 16:11:04 +01:00
|
|
|
license = lib.licenses.lgpl21;
|
2011-12-17 20:16:45 +00:00
|
|
|
homepage = "http://www.pyside.org";
|
2016-09-01 16:11:04 +01:00
|
|
|
maintainers = [ lib.maintainers.chaoflow ];
|
|
|
|
platforms = lib.platforms.all;
|
2011-12-17 20:16:45 +00:00
|
|
|
};
|
|
|
|
}
|