2019-11-07 08:31:13 -08:00
|
|
|
{ lib, fetchurl, cmake, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4, mesa, libGL }:
|
2011-12-17 12:16:45 -08:00
|
|
|
|
2017-04-30 01:29:45 -07:00
|
|
|
# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
|
2017-03-21 05:01:17 -07:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 02:25:35 -07:00
|
|
|
pname = "pyside";
|
2015-12-10 12:39:11 -08:00
|
|
|
version = "1.2.4";
|
2017-03-21 05:01:17 -07:00
|
|
|
format = "other";
|
2011-12-17 12:16:45 -08:00
|
|
|
|
2014-08-01 04:50:09 -07:00
|
|
|
src = fetchurl {
|
2015-12-10 12:39:11 -08:00
|
|
|
url = "https://github.com/PySide/PySide/archive/${version}.tar.gz";
|
|
|
|
sha256 = "90f2d736e2192ac69e5a2ac798fce2b5f7bf179269daa2ec262986d488c3b0f7";
|
2011-12-17 12:16:45 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-02-15 01:08:27 -08:00
|
|
|
nativeBuildInputs = [ cmake pysideGeneratorrunner pysideShiboken qt4 ];
|
2011-12-17 12:16:45 -08:00
|
|
|
|
2019-11-07 08:31:13 -08:00
|
|
|
buildInputs = [ mesa libGL ];
|
2019-03-03 04:31:34 -08:00
|
|
|
|
2019-10-27 06:03:25 -07:00
|
|
|
makeFlags = [ "QT_PLUGIN_PATH=${pysideShiboken}/lib/generatorrunner" ];
|
2011-12-17 12:16:45 -08:00
|
|
|
|
|
|
|
meta = {
|
2013-10-06 02:49:53 -07:00
|
|
|
description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
|
2016-09-01 08:11:04 -07:00
|
|
|
license = lib.licenses.lgpl21;
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.pyside.org";
|
2011-12-17 12:16:45 -08:00
|
|
|
};
|
|
|
|
}
|