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 ]; + }; }