python3.pkgs.janus: fix build

This commit is contained in:
Jörg Thalheim 2020-06-19 11:16:50 +01:00
parent 8ce5334899
commit 81fb54a8c1
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pytest, pythonOlder }:
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }:
buildPythonPackage rec {
pname = "janus";
@ -11,7 +11,10 @@ buildPythonPackage rec {
disabled = pythonOlder "3.6";
checkInputs = [ pytest ];
checkInputs = [ pytest-asyncio pytestCheckHook ];
# also fails upstream: https://github.com/aio-libs/janus/pull/258
disabledTests = [ "test_format" ];
meta = with lib; {
description = "Mixed sync-async queue";