nixpkgs/pkgs/development/python-modules/qreactor/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

41 lines
779 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, twisted
, qtpy
, pyqt5
}:
buildPythonPackage rec {
pname = "qreactor-unstable";
version = "2018-09-29";
src = fetchFromGitHub {
owner = "frmdstryr";
repo = "qt-reactor";
rev = "364b3f561fb0d4d3938404d869baa4db7a982bf0";
sha256 = "1nb5iwg0nfz86shw28a2kj5pyhd4jvvxhf73fhnfbl8scgnvjv9h";
};
disabled = pythonOlder "3.0";
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 ];
};
}