Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 28 lines 903 B view raw
1{ lib, fetchurl, cmake, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4, mesa, libGL }: 2 3# This derivation provides a Python module and should therefore be called via `python-packages.nix`. 4buildPythonPackage rec { 5 pname = "pyside"; 6 version = "1.2.4"; 7 format = "other"; 8 9 src = fetchurl { 10 url = "https://github.com/PySide/PySide/archive/${version}.tar.gz"; 11 sha256 = "90f2d736e2192ac69e5a2ac798fce2b5f7bf179269daa2ec262986d488c3b0f7"; 12 }; 13 14 enableParallelBuilding = true; 15 16 nativeBuildInputs = [ cmake pysideGeneratorrunner pysideShiboken qt4 ]; 17 18 buildInputs = [ mesa libGL ]; 19 20 makeFlags = [ "QT_PLUGIN_PATH=${pysideShiboken}/lib/generatorrunner" ]; 21 22 meta = { 23 description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework"; 24 license = lib.licenses.lgpl21; 25 homepage = http://www.pyside.org; 26 broken = true; 27 }; 28}