evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / janus / default.nix
blob62041277358a2d3d00087c72a269d12234ceb1fc
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7   pytest-asyncio,
8   typing-extensions,
9 }:
11 buildPythonPackage rec {
12   pname = "janus";
13   version = "1.0.0";
14   format = "setuptools";
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "df976f2cdcfb034b147a2d51edfc34ff6bfb12d4e2643d3ad0e10de058cb1612";
19   };
21   disabled = pythonOlder "3.6";
23   propagatedBuildInputs = [ typing-extensions ];
25   nativeCheckInputs = [
26     pytest-asyncio
27     pytestCheckHook
28   ];
30   # also fails upstream: https://github.com/aio-libs/janus/pull/258
31   disabledTests = [ "test_format" ];
33   meta = with lib; {
34     description = "Mixed sync-async queue";
35     homepage = "https://github.com/aio-libs/janus";
36     license = licenses.asl20;
37     maintainers = [ maintainers.simonchatts ];
38   };