depot/third_party/nixpkgs/pkgs/development/python-modules/pyqt-builder/default.nix

43 lines
756 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
packaging,
setuptools,
setuptools-scm,
sip,
}:
buildPythonPackage rec {
pname = "pyqt-builder";
version = "1.17.0";
pyproject = true;
src = fetchPypi {
pname = "pyqt_builder";
inherit version;
hash = "sha256-/ODpI0bSpCllJbetnwK3TqQl8mIQOQrg0+TKCMMc9Mw=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
packaging
sip
];
pythonImportsCheck = [ "pyqtbuild" ];
# There aren't tests
doCheck = false;
meta = with lib; {
description = "PEP 517 compliant build system for PyQt";
homepage = "https://github.com/Python-PyQt/PyQt-builder";
license = licenses.gpl3Only;
maintainers = with maintainers; [ nrdxp ];
};
}