about summary refs log tree commit diff
path: root/pkgs/development/python-modules/amqtt
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-07-21 12:56:02 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-07-21 22:35:30 +0200
commit2c9a47daae1f831171962e947eb107e10e219864 (patch)
tree354eec5c735f00e506545a64c65137b2ce74e3aa /pkgs/development/python-modules/amqtt
parente9bde1a9cd91a66a4368ab2b9f047654cda60ef1 (diff)
python3Packages.amqtt: 2022-01-11 -> 202205-29
Diffstat (limited to 'pkgs/development/python-modules/amqtt')
-rw-r--r--pkgs/development/python-modules/amqtt/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/amqtt/default.nix b/pkgs/development/python-modules/amqtt/default.nix
index 7458ca11e99da..71c07c07cc9bc 100644
--- a/pkgs/development/python-modules/amqtt/default.nix
+++ b/pkgs/development/python-modules/amqtt/default.nix
@@ -17,7 +17,7 @@
 
 buildPythonPackage rec {
   pname = "amqtt";
-  version = "unstable-2022-01-11";
+  version = "unstable-2022-05-29";
   format = "pyproject";
 
   disabled = pythonOlder "3.7";
@@ -25,8 +25,8 @@ buildPythonPackage rec {
   src = fetchFromGitHub {
     owner = "Yakifo";
     repo = pname;
-    rev = "8961b8fff57007a5d9907b98bc555f0519974ce9";
-    hash = "sha256-3uwz4RSoa6KRC8mlVfeIMLPH6F2kOJjQjjXCrnVX0Jo=";
+    rev = "09ac98d39a711dcff0d8f22686916e1c2495144b";
+    hash = "sha256-8T1XhBSOiArlUQbQ41LsUogDgOurLhf+M8mjIrrAC4s=";
   };
 
   nativeBuildInputs = [
@@ -48,14 +48,12 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  postPatch = ''
-    substituteInPlace pyproject.toml \
-      --replace 'PyYAML = "^5.4.0"' 'PyYAML = "*"'
-  '';
+  pytestFlagsArray = [
+    "--asyncio-mode=legacy"
+  ];
 
   disabledTestPaths = [
     # Test are not ported from hbmqtt yet
-    "tests/test_cli.py"
     "tests/test_client.py"
   ];