Skip to content

Commit

Permalink
python3Packages.aqualogic: 2.6 -> 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored and Jonathan Ringer committed Jul 7, 2021
1 parent 50434b9 commit ce35e28
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions pkgs/development/python-modules/aqualogic/default.nix
Original file line number Diff line number Diff line change
@@ -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" ];

Expand Down

0 comments on commit ce35e28

Please sign in to comment.