nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 twisted,
6 qtpy,
7 pyqt6,
8}:
9
10buildPythonPackage {
11 pname = "qreactor-unstable";
12 version = "0.6.1";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "frmdstryr";
17 repo = "qt-reactor";
18 rev = "364b3f561fb0d4d3938404d869baa4db7a982bf0";
19 sha256 = "1nb5iwg0nfz86shw28a2kj5pyhd4jvvxhf73fhnfbl8scgnvjv9h";
20 };
21
22 strictDeps = true;
23
24 propagatedBuildInputs = [
25 twisted
26 qtpy
27 ];
28
29 nativeCheckInputs = [ pyqt6 ];
30
31 pythonImportsCheck = [ "qreactor" ];
32
33 meta = {
34 homepage = "https://github.com/frmdstryr/qt-reactor";
35 description = "Twisted and PyQt5/qtpy eventloop integration base";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ raboof ];
38 };
39}