diff options
Diffstat (limited to 'pkgs/development/libraries/python-qt')
-rw-r--r-- | pkgs/development/libraries/python-qt/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/libraries/python-qt/default.nix b/pkgs/development/libraries/python-qt/default.nix index a52b3608eb7..2be89b3b753 100644 --- a/pkgs/development/libraries/python-qt/default.nix +++ b/pkgs/development/libraries/python-qt/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, python, qmake, +{ lib, stdenv, fetchurl, python, qmake, qtwebengine, qtxmlpatterns, qttools, unzip }: @@ -13,15 +13,17 @@ stdenv.mkDerivation rec { hardeningDisable = [ "all" ]; - nativeBuildInputs = [ qmake qtwebengine qtxmlpatterns qttools ]; + nativeBuildInputs = [ qmake qtwebengine qtxmlpatterns qttools unzip ]; - buildInputs = [ python unzip ]; + buildInputs = [ python ]; qmakeFlags = [ "PythonQt.pro" "INCLUDEPATH+=${python}/include/python3.6" "PYTHON_PATH=${python}/bin" "PYTHON_LIB=${python}/lib"]; + dontWrapQtApps = true; + unpackCmd = "unzip $src"; installPhase = '' @@ -32,8 +34,8 @@ stdenv.mkDerivation rec { cp -r ./extensions $out/include/PythonQt ''; - meta = with stdenv.lib; { - description = "PythonQt is a dynamic Python binding for the Qt framework. It offers an easy way to embed the Python scripting language into your C++ Qt applications."; + meta = with lib; { + description = "PythonQt is a dynamic Python binding for the Qt framework. It offers an easy way to embed the Python scripting language into your C++ Qt applications"; homepage = "http://pythonqt.sourceforge.net/"; license = licenses.lgpl21; platforms = platforms.all; |