Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 25 lines 680 B view raw
1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }: 2 3buildPythonPackage rec { 4 pname = "janus"; 5 version = "0.6.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "4712e0ef75711fe5947c2db855bc96221a9a03641b52e5ae8e25c2b705dd1d0c"; 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}