1{ lib
2, buildPythonPackage
3, fetchPypi
4, packaging
5, setuptools
6, sip
7, wheel
8}:
9
10buildPythonPackage rec {
11 pname = "pyqt-builder";
12 version = "1.15.2";
13 format = "pyproject";
14
15 src = fetchPypi {
16 pname = "PyQt-builder";
17 inherit version;
18 hash = "sha256-dGz+g8A+v/RFjUeKHAZxR5Dvk+RY7NWii8KDe6yI63Q=";
19 };
20
21 nativeBuildInputs = [
22 setuptools
23 wheel
24 ];
25
26 propagatedBuildInputs = [ packaging sip ];
27
28 pythonImportsCheck = [ "pyqtbuild" ];
29
30 # There aren't tests
31 doCheck = false;
32
33 meta = with lib; {
34 description = "PEP 517 compliant build system for PyQt";
35 homepage = "https://pypi.org/project/PyQt-builder/";
36 license = licenses.gpl3Only;
37 maintainers = with maintainers; [ nrdxp ];
38 };
39}