Skip to content

Commit

Permalink
python3.pkgs.janus: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jun 19, 2020
1 parent 8ce5334 commit 81fb54a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/development/python-modules/janus/default.nix
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pytest, pythonOlder }:
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }:

buildPythonPackage rec {
pname = "janus";
Expand All @@ -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";
Expand Down

0 comments on commit 81fb54a

Please sign in to comment.