depot/third_party/nixpkgs/pkgs/development/python-modules/janus/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

25 lines
680 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }:
buildPythonPackage rec {
pname = "janus";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "4712e0ef75711fe5947c2db855bc96221a9a03641b52e5ae8e25c2b705dd1d0c";
};
disabled = pythonOlder "3.6";
checkInputs = [ pytest-asyncio pytestCheckHook ];
# also fails upstream: https://github.com/aio-libs/janus/pull/258
disabledTests = [ "test_format" ];
meta = with lib; {
description = "Mixed sync-async queue";
homepage = "https://github.com/aio-libs/janus";
license = licenses.asl20;
maintainers = [ maintainers.simonchatts ];
};
}