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