If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
32 lines
750 B
Nix
32 lines
750 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
mesa,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyqt6-sip";
|
|
version = "13.8.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "PyQt6_sip";
|
|
inherit version;
|
|
hash = "sha256-L3TPPW2cq1FSvZ9J1XCy37h1U+u1xJGav94n9bn9adQ=";
|
|
};
|
|
|
|
# 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 = [ "PyQt6.sip" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python bindings for Qt5";
|
|
homepage = "https://github.com/Python-SIP/sip";
|
|
license = licenses.gpl3Only;
|
|
inherit (mesa.meta) platforms;
|
|
maintainers = with maintainers; [ LunNova ];
|
|
};
|
|
}
|