diff options
author | Gabriel Ebner <gebner@gebner.org> | 2019-06-16 18:29:35 +0200 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2019-06-17 18:39:21 +0200 |
commit | b21ec0b9bf89c7758f1cdb4425016d39843a84b0 (patch) | |
tree | ee6e69cf0279125bb03b3e35ffbb790bdd9fa3c8 /pkgs/development/python-modules/pyside2-tools | |
parent | be4d04de473d48353aa582885a98d9fb70c4eae6 (diff) | |
download | nixpkgs-b21ec0b9bf89c7758f1cdb4425016d39843a84b0.tar nixpkgs-b21ec0b9bf89c7758f1cdb4425016d39843a84b0.tar.gz nixpkgs-b21ec0b9bf89c7758f1cdb4425016d39843a84b0.tar.bz2 nixpkgs-b21ec0b9bf89c7758f1cdb4425016d39843a84b0.tar.lz nixpkgs-b21ec0b9bf89c7758f1cdb4425016d39843a84b0.tar.xz nixpkgs-b21ec0b9bf89c7758f1cdb4425016d39843a84b0.tar.zst nixpkgs-b21ec0b9bf89c7758f1cdb4425016d39843a84b0.zip |
pythonPackages.pyside2-tools: init at 5.12.3
Diffstat (limited to 'pkgs/development/python-modules/pyside2-tools')
-rw-r--r-- | pkgs/development/python-modules/pyside2-tools/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyside2-tools/default.nix b/pkgs/development/python-modules/pyside2-tools/default.nix new file mode 100644 index 00000000000..5314a5cc713 --- /dev/null +++ b/pkgs/development/python-modules/pyside2-tools/default.nix @@ -0,0 +1,35 @@ +{ buildPythonPackage, wrapPython, python, fetchurl, stdenv, cmake, qt5, + shiboken2, pyside2 }: + +stdenv.mkDerivation rec { + pname = "pyside2-tools"; + + inherit (pyside2) version src; + + postPatch = '' + cd sources/pyside2-tools + ''; + + nativeBuildInputs = [ cmake wrapPython ]; + propagatedBuildInputs = [ shiboken2 pyside2 ]; + buildInputs = [ python qt5.qtbase ]; + + cmakeFlags = [ + "-DBUILD_TESTS=OFF" + ]; + + postInstall = '' + rm $out/bin/pyside_tool.py + ''; + + postFixup = '' + wrapPythonPrograms + ''; + + meta = with stdenv.lib; { + description = "PySide2 development tools"; + license = licenses.gpl2; + homepage = "https://wiki.qt.io/Qt_for_Python"; + maintainers = with maintainers; [ gebner ]; + }; +} |