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";
|
2021-10-27 09:19:36 +01:00
|
|
|
version = "0.6.2";
|
2019-09-17 12:02:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-27 09:19:36 +01:00
|
|
|
sha256 = "127edc891f9e13420dd12f230d5113fa3de7f93662b81acfaf845989edf5eebf";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|