summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorArnout Engelen <arnout@bzzt.net>2020-07-14 08:24:41 +0200
committerJon <jonringer@users.noreply.github.com>2020-08-10 12:10:47 -0700
commit481e8043093b547e61b4d2389a7f60c70405d0cf (patch)
treea76fe295ee6c3d83a7faf63e86b472bf0229b3ce /pkgs/development
parent002077c0a66d0acce6930e2ff2ab2c7d34244c64 (diff)
downloadnixpkgs-481e8043093b547e61b4d2389a7f60c70405d0cf.tar
nixpkgs-481e8043093b547e61b4d2389a7f60c70405d0cf.tar.gz
nixpkgs-481e8043093b547e61b4d2389a7f60c70405d0cf.tar.bz2
nixpkgs-481e8043093b547e61b4d2389a7f60c70405d0cf.tar.lz
nixpkgs-481e8043093b547e61b4d2389a7f60c70405d0cf.tar.xz
nixpkgs-481e8043093b547e61b4d2389a7f60c70405d0cf.tar.zst
nixpkgs-481e8043093b547e61b4d2389a7f60c70405d0cf.zip
python3Packages.qreactor: init at 2018-09-29
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/qreactor/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/qreactor/default.nix b/pkgs/development/python-modules/qreactor/default.nix
new file mode 100644
index 00000000000..dc2031c7028
--- /dev/null
+++ b/pkgs/development/python-modules/qreactor/default.nix
@@ -0,0 +1,41 @@
+{ 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
+  ];
+
+  checkInputs = [
+    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 ];
+  };
+}