mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-25 06:13:54 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
39 lines
700 B
Nix
39 lines
700 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyqt5
|
|
, twisted
|
|
, pytest-twisted
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qt5reactor";
|
|
version = "0.6.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c3470a8a25d9a339f9ca6243502a9b2277f181d772b7acbff551d5bc363b7572";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyqt5
|
|
twisted
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-twisted
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "qt5reactor" ];
|
|
|
|
meta = with lib; {
|
|
description = "Twisted Qt Integration";
|
|
homepage = "https://github.com/twisted/qt5reactor";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|