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