diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2018-12-10 16:24:09 -0500 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2018-12-27 09:14:21 -0500 |
commit | 3c198294e7e7760197e5054256307317f6873faa (patch) | |
tree | 0b7ebcd7dedf3ef3e6051e25a89cefa3f3a8bd48 | |
parent | facefec1399fc718a0ad59fd1511e3b4c406af67 (diff) | |
download | nixpkgs-3c198294e7e7760197e5054256307317f6873faa.tar nixpkgs-3c198294e7e7760197e5054256307317f6873faa.tar.gz nixpkgs-3c198294e7e7760197e5054256307317f6873faa.tar.bz2 nixpkgs-3c198294e7e7760197e5054256307317f6873faa.tar.lz nixpkgs-3c198294e7e7760197e5054256307317f6873faa.tar.xz nixpkgs-3c198294e7e7760197e5054256307317f6873faa.tar.zst nixpkgs-3c198294e7e7760197e5054256307317f6873faa.zip |
pyqt5: refactor
-rw-r--r-- | pkgs/development/python-modules/pyqt/5.x.nix | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix index 50dbe51e768..2d2c04d5fb2 100644 --- a/pkgs/development/python-modules/pyqt/5.x.nix +++ b/pkgs/development/python-modules/pyqt/5.x.nix @@ -6,26 +6,16 @@ }: let - pname = "PyQt"; - version = "5.11.3"; inherit (pythonPackages) buildPythonPackage python isPy3k dbus-python enum34; sip = pythonPackages.sip.override { sip-module = "PyQt5.sip"; }; -in buildPythonPackage { - pname = pname; - version = version; +in buildPythonPackage rec { + pname = "PyQt"; + version = "5.11.3"; format = "other"; - meta = with lib; { - description = "Python bindings for Qt5"; - homepage = http://www.riverbankcomputing.co.uk; - license = licenses.gpl3; - platforms = platforms.mesaPlatforms; - maintainers = with maintainers; [ sander ]; - }; - src = fetchurl { url = "mirror://sourceforge/pyqt/PyQt5/PyQt-${version}/PyQt5_gpl-${version}.tar.gz"; sha256 = "0wqh4srqkcc03rvkwrcshaa028psrq58xkys6npnyhqxc0apvdf9"; @@ -73,4 +63,12 @@ in buildPythonPackage { ''; enableParallelBuilding = true; + + meta = with lib; { + description = "Python bindings for Qt5"; + homepage = http://www.riverbankcomputing.co.uk; + license = licenses.gpl3; + platforms = platforms.mesaPlatforms; + maintainers = with maintainers; [ sander ]; + }; } |