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