depot/third_party/nixpkgs/pkgs/development/python-modules/pyqt/sip.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

30 lines
725 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
mesa,
}:
buildPythonPackage rec {
pname = "pyqt5-sip";
version = "12.15.0";
src = fetchPypi {
pname = "PyQt5_sip";
inherit version;
hash = "sha256-0j/fzzY7XO3Z05+KnFcQ59UoBPWwiljpHGOLNur8twI=";
};
# 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 ];
};
}