depot/third_party/nixpkgs/pkgs/development/python-modules/pyqt-builder/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

32 lines
820 B
Nix

{ lib, fetchPypi, buildPythonPackage, packaging, sip }:
buildPythonPackage rec {
pname = "pyqt-builder";
version = "1.13.0";
src = fetchPypi {
pname = "PyQt-builder";
inherit version;
sha256 = "sha256-SHdYDDjOtTIOEps4HQg7CoYBxoFm2LmXB/CPoKFonu8=";
};
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
];
propagatedBuildInputs = [ packaging sip ];
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;
maintainers = with maintainers; [ ];
};
}