2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2024-09-19 14:19:46 +00:00
|
|
|
mesa,
|
2022-02-20 05:27:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyqt5-sip";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "12.15.0";
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "PyQt5_sip";
|
|
|
|
inherit version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-0j/fzzY7XO3Z05+KnFcQ59UoBPWwiljpHGOLNur8twI=";
|
2022-02-20 05:27:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# There is no test code and the check phase fails with:
|
|
|
|
# > error: could not create 'PyQt5/sip.cpython-38-x86_64-linux-gnu.so': No such file or directory
|
|
|
|
doCheck = false;
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "PyQt5.sip" ];
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python bindings for Qt5";
|
2024-09-19 14:19:46 +00:00
|
|
|
homepage = "https://github.com/Python-SIP/sip";
|
2024-06-05 15:53:02 +00:00
|
|
|
license = licenses.gpl3Only;
|
2024-09-19 14:19:46 +00:00
|
|
|
inherit (mesa.meta) platforms;
|
2022-02-20 05:27:41 +00:00
|
|
|
maintainers = with maintainers; [ sander ];
|
|
|
|
};
|
|
|
|
}
|