2021-05-20 23:08:51 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, packaging, sip }:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyqt-builder";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.13.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "PyQt-builder";
|
|
|
|
inherit version;
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-SHdYDDjOtTIOEps4HQg7CoYBxoFm2LmXB/CPoKFonu8=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
patches = [
|
|
|
|
# use the sip-distinfo executable from PATH instead of trying to guess,
|
|
|
|
# we know it's the right one because it's the _only_ one
|
|
|
|
./use-sip-distinfo-from-path.patch
|
|
|
|
];
|
|
|
|
|
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;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|