depot/third_party/nixpkgs/pkgs/development/python-modules/qreactor/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
732 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
twisted,
qtpy,
pyqt5,
}:
buildPythonPackage rec {
pname = "qreactor-unstable";
version = "2018-09-29";
src = fetchFromGitHub {
owner = "frmdstryr";
repo = "qt-reactor";
rev = "364b3f561fb0d4d3938404d869baa4db7a982bf0";
sha256 = "1nb5iwg0nfz86shw28a2kj5pyhd4jvvxhf73fhnfbl8scgnvjv9h";
};
propagatedBuildInputs = [
twisted
qtpy
];
nativeCheckInputs = [ pyqt5 ];
pythonImportsCheck = [ "qreactor" ];
meta = with lib; {
homepage = "https://github.com/frmdstryr/qt-reactor";
description = "Twisted and PyQt5/qtpy eventloop integration base";
license = licenses.mit;
maintainers = with maintainers; [ raboof ];
};
}