about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aqualogic
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-07-07 16:08:00 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-07-07 09:37:34 -0700
commitce35e2852d2b094314c6eec29843b3a5b33e7245 (patch)
tree13a71435b961a54f85ec2d19e47fa516712a0bf7 /pkgs/development/python-modules/aqualogic
parent50434b9fbf098cd470b3ce2577607146a9177b29 (diff)
python3Packages.aqualogic: 2.6 -> 3.3
Diffstat (limited to 'pkgs/development/python-modules/aqualogic')
-rw-r--r--pkgs/development/python-modules/aqualogic/default.nix25
1 files changed, 14 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/aqualogic/default.nix b/pkgs/development/python-modules/aqualogic/default.nix
index 9a23ebd82a9f7..255248e8d924a 100644
--- a/pkgs/development/python-modules/aqualogic/default.nix
+++ b/pkgs/development/python-modules/aqualogic/default.nix
@@ -1,33 +1,36 @@
 { lib
+, aiohttp
 , buildPythonPackage
 , fetchFromGitHub
-, fetchpatch
 , pyserial
 , pytestCheckHook
+, websockets
 }:
 
 buildPythonPackage rec {
   pname = "aqualogic";
-  version = "2.6";
+  version = "3.3";
 
   src = fetchFromGitHub {
     owner = "swilson";
     repo = pname;
     rev = version;
-    sha256 = "sha256-dAC/0OjvrC8J/5pu5vcOKV/WqgkAlz0LuFl0up6FQRM=";
+    sha256 = "sha256-6YvkSUtBc3Nl/Ap3LjU0IKY2bE4k86XdSoLo+/c8dDs=";
   };
 
-  patches = [
-    (fetchpatch {
-      name = "allow-iobase-objects.patch";
-      url = "https://github.com/swilson/aqualogic/commit/185fe25a86c82c497a55c78914b55ed39f5ca339.patch";
-      sha256 = "072jrrsqv86bn3skibjc57111jlpm8pq2503997fl3h4v6ziwdxg";
-    })
+  propagatedBuildInputs = [
+    pyserial
+    websockets
   ];
 
-  propagatedBuildInputs = [ pyserial ];
+  checkInputs = [
+    aiohttp
+    pytestCheckHook
+  ];
 
-  checkInputs = [ pytestCheckHook ];
+  # With 3.3 the event loop is not terminated after the first test
+  # https://github.com/swilson/aqualogic/issues/9
+  doCheck = false;
 
   pythonImportsCheck = [ "aqualogic" ];