1{ lib, buildPythonPackage, fetchFromGitHub, cmake, qt4, pyside, pysideShiboken }: 2 3buildPythonPackage rec { 4 pname = "pyside-tools"; 5 version = "0.2.15"; 6 format = "other"; 7 8 src = fetchFromGitHub { 9 owner = "PySide"; 10 repo = "Tools"; 11 rev = version; 12 sha256 = "017i2yxgjrisaifxqnl3ym8ijl63l2yl6a3474dsqhlyqz2nx2ll"; 13 }; 14 15 outputs = [ "out" "dev" ]; 16 17 preConfigure = '' 18 cmakeFlagsArray=("-DCMAKE_INSTALL_PREFIX=$dev") 19 ''; 20 21 nativeBuildInputs = [ cmake ]; 22 23 buildInputs = [ qt4 ]; 24 25 propagatedBuildInputs = [ pyside pysideShiboken ]; 26 27 meta = with lib; { 28 description = "Development tools (pyside-uic/rcc/lupdate) for PySide, the LGPL-licensed Python bindings for the Qt framework"; 29 license = licenses.gpl2; 30 homepage = "https://wiki.qt.io/PySide"; 31 maintainers = [ ]; 32 platforms = platforms.all; 33 }; 34}