ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / qreactor / default.nix
blobdc2031c702873f54b3d62ab589a769b408297e17
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , twisted
6 , qtpy
7 , pyqt5
8 }:
10 buildPythonPackage rec {
11   pname = "qreactor-unstable";
12   version = "2018-09-29";
14   src = fetchFromGitHub {
15     owner = "frmdstryr";
16     repo = "qt-reactor";
17     rev = "364b3f561fb0d4d3938404d869baa4db7a982bf0";
18     sha256 = "1nb5iwg0nfz86shw28a2kj5pyhd4jvvxhf73fhnfbl8scgnvjv9h";
19   };
21   disabled = pythonOlder "3.0";
23   propagatedBuildInputs = [
24     twisted qtpy
25   ];
27   checkInputs = [
28     pyqt5
29   ];
31   pythonImportsCheck = [
32     "qreactor"
33   ];
35   meta = with lib; {
36     homepage = "https://github.com/frmdstryr/qt-reactor";
37     description = "Twisted and PyQt5/qtpy eventloop integration base";
38     license = licenses.mit;
39     maintainers = with maintainers; [ raboof ];
40   };