2021-10-30 12:38:41 +01:00
|
|
|
{ lib, fetchFromGitHub, cmake, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4, mesa, libGL }:
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2017-03-21 12:01:17 +00:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "pyside";
|
2015-12-10 20:39:11 +00:00
|
|
|
version = "1.2.4";
|
2017-03-21 12:01:17 +00:00
|
|
|
format = "other";
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2021-10-30 12:38:41 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PySide";
|
|
|
|
repo = "PySide";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-14XbihJRMk9WaeK6NUBV/4OMFZF8EBIJgEJEaCU8Ecg=";
|
2011-12-17 20:16:45 +00:00
|
|
|
};
|
|
|
|
|
2020-11-01 15:22:29 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cmakeFlagsArray=("-DCMAKE_INSTALL_PREFIX=$dev")
|
|
|
|
'';
|
|
|
|
|
2019-02-15 09:08:27 +00:00
|
|
|
nativeBuildInputs = [ cmake pysideGeneratorrunner pysideShiboken qt4 ];
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2019-11-07 16:31:13 +00:00
|
|
|
buildInputs = [ mesa libGL ];
|
2019-03-03 12:31:34 +00:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "QT_PLUGIN_PATH=${pysideShiboken}/lib/generatorrunner" ];
|
2011-12-17 20:16:45 +00:00
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2011-12-17 20:16:45 +00:00
|
|
|
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;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.pyside.org";
|
2011-12-17 20:16:45 +00:00
|
|
|
};
|
|
|
|
}
|