depot/third_party/nixpkgs/pkgs/development/python-modules/janus/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

31 lines
756 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio
, typing-extensions
}:
buildPythonPackage rec {
pname = "janus";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "df976f2cdcfb034b147a2d51edfc34ff6bfb12d4e2643d3ad0e10de058cb1612";
};
disabled = pythonOlder "3.6";
propagatedBuildInputs = [
typing-extensions
];
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 ];
};
}