1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 mesa,
6}:
7
8buildPythonPackage rec {
9 pname = "pyqt5-sip";
10 version = "12.17.0";
11
12 src = fetchPypi {
13 pname = "pyqt5_sip";
14 inherit version;
15 hash = "sha256-aC2tzb0iOa+f3AwGKOJ3a4IOEovsiLSbjWkv5oL5C08=";
16 };
17
18 # There is no test code and the check phase fails with:
19 # > error: could not create 'PyQt5/sip.cpython-38-x86_64-linux-gnu.so': No such file or directory
20 doCheck = false;
21 pythonImportsCheck = [ "PyQt5.sip" ];
22
23 meta = with lib; {
24 description = "Python bindings for Qt5";
25 homepage = "https://github.com/Python-SIP/sip";
26 license = licenses.gpl3Only;
27 inherit (mesa.meta) platforms;
28 maintainers = with maintainers; [ sander ];
29 };
30}