Files
nixpkgs/pkgs/development/python-modules/pyqt/sip.nix
Martin Weinelt ae4a1a485a treewide: add explicit format attribute for Python packages
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.
2025-07-02 05:56:47 +02:00

32 lines
750 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
mesa,
}:
buildPythonPackage rec {
pname = "pyqt5-sip";
version = "12.17.0";
format = "setuptools";
src = fetchPypi {
pname = "pyqt5_sip";
inherit version;
hash = "sha256-aC2tzb0iOa+f3AwGKOJ3a4IOEovsiLSbjWkv5oL5C08=";
};
# 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";
homepage = "https://github.com/Python-SIP/sip";
license = licenses.gpl3Only;
inherit (mesa.meta) platforms;
maintainers = with maintainers; [ sander ];
};
}