2022-02-15 09:02:37 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2024-08-30 06:34:22 +00:00
|
|
|
mesa,
|
2022-02-15 09:02:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyqt5-sip";
|
2024-09-14 08:38:36 +00:00
|
|
|
version = "12.15.0";
|
2022-02-15 09:02:37 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "PyQt5_sip";
|
|
|
|
inherit version;
|
2024-09-14 08:38:36 +00:00
|
|
|
hash = "sha256-0j/fzzY7XO3Z05+KnFcQ59UoBPWwiljpHGOLNur8twI=";
|
2022-02-15 09:02:37 +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;
|
|
|
|
pythonImportsCheck = [ "PyQt5.sip" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python bindings for Qt5";
|
2024-09-14 08:32:54 +00:00
|
|
|
homepage = "https://github.com/Python-SIP/sip";
|
2022-02-15 09:02:37 +00:00
|
|
|
license = licenses.gpl3Only;
|
2024-08-30 06:34:22 +00:00
|
|
|
inherit (mesa.meta) platforms;
|
2022-02-15 09:02:37 +00:00
|
|
|
maintainers = with maintainers; [ sander ];
|
|
|
|
};
|
|
|
|
}
|