1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }:
2
3buildPythonPackage rec {
4 pname = "janus";
5 version = "0.6.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "127edc891f9e13420dd12f230d5113fa3de7f93662b81acfaf845989edf5eebf";
10 };
11
12 disabled = pythonOlder "3.6";
13
14 checkInputs = [ pytest-asyncio pytestCheckHook ];
15
16 # also fails upstream: https://github.com/aio-libs/janus/pull/258
17 disabledTests = [ "test_format" ];
18
19 meta = with lib; {
20 description = "Mixed sync-async queue";
21 homepage = "https://github.com/aio-libs/janus";
22 license = licenses.asl20;
23 maintainers = [ maintainers.simonchatts ];
24 };
25}