2020-06-19 11:16:50 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }:
|
2019-09-17 12:02:18 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "janus";
|
2020-11-29 14:04:31 +00:00
|
|
|
version = "0.6.1";
|
2019-09-17 12:02:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:31 +00:00
|
|
|
sha256 = "4712e0ef75711fe5947c2db855bc96221a9a03641b52e5ae8e25c2b705dd1d0c";
|
2019-09-17 12:02:18 +01:00
|
|
|
};
|
|
|
|
|
2019-10-01 08:47:54 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2020-06-19 11:16:50 +01:00
|
|
|
checkInputs = [ pytest-asyncio pytestCheckHook ];
|
|
|
|
|
|
|
|
# also fails upstream: https://github.com/aio-libs/janus/pull/258
|
|
|
|
disabledTests = [ "test_format" ];
|
2019-09-17 12:02:18 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mixed sync-async queue";
|
|
|
|
homepage = "https://github.com/aio-libs/janus";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.simonchatts ];
|
|
|
|
};
|
|
|
|
}
|