2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, packaging
|
|
|
|
, setuptools
|
2024-05-15 15:35:15 +00:00
|
|
|
, setuptools-scm
|
2023-10-09 19:29:22 +00:00
|
|
|
, sip
|
|
|
|
, wheel
|
|
|
|
}:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyqt-builder";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.16.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
format = "pyproject";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "PyQt-builder";
|
|
|
|
inherit version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-R7vSz6VDACAQj59AMB4WbL6pi27z5TlTNQvdTGsxqxg=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
2024-05-15 15:35:15 +00:00
|
|
|
setuptools-scm
|
2023-10-09 19:29:22 +00:00
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
propagatedBuildInputs = [ packaging sip ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "pyqtbuild" ];
|
|
|
|
|
|
|
|
# There aren't tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "PEP 517 compliant build system for PyQt";
|
|
|
|
homepage = "https://pypi.org/project/PyQt-builder/";
|
|
|
|
license = licenses.gpl3Only;
|
2022-10-21 18:38:19 +00:00
|
|
|
maintainers = with maintainers; [ nrdxp ];
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|