nixpkgs-suyu/pkgs/development/python-modules/pyside/default.nix

29 lines
956 B
Nix
Raw Normal View History

{ lib, fetchurl, cmake, python, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4 }:
# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
buildPythonPackage rec {
pname = "pyside";
name = "${pname}-${version}";
2015-12-10 21:39:11 +01:00
version = "1.2.4";
format = "other";
src = fetchurl {
2015-12-10 21:39:11 +01:00
url = "https://github.com/PySide/PySide/archive/${version}.tar.gz";
sha256 = "90f2d736e2192ac69e5a2ac798fce2b5f7bf179269daa2ec262986d488c3b0f7";
};
enableParallelBuilding = true;
buildInputs = [ cmake pysideGeneratorrunner pysideShiboken qt4 ];
makeFlags = "QT_PLUGIN_PATH=" + pysideShiboken + "/lib/generatorrunner";
meta = {
description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
2016-09-01 17:11:04 +02:00
license = lib.licenses.lgpl21;
homepage = http://www.pyside.org;
2016-09-01 17:11:04 +02:00
maintainers = [ lib.maintainers.chaoflow ];
platforms = lib.platforms.all;
};
}