nixpkgs/pkgs/development/python-modules/janus/default.nix

26 lines
680 B
Nix
Raw Normal View History

2020-06-19 10:16:50 +00:00
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }:
2019-09-17 11:02:18 +00:00
buildPythonPackage rec {
pname = "janus";
2020-06-06 06:47:14 +00:00
version = "0.5.0";
2019-09-17 11:02:18 +00:00
src = fetchPypi {
inherit pname version;
2020-06-06 06:47:14 +00:00
sha256 = "0700f5537d076521851d19b7625545c5e76f6d5792ab17984f28230adcc3b34c";
2019-09-17 11:02:18 +00:00
};
disabled = pythonOlder "3.6";
2020-06-19 10:16:50 +00:00
checkInputs = [ pytest-asyncio pytestCheckHook ];
# also fails upstream: https://github.com/aio-libs/janus/pull/258
disabledTests = [ "test_format" ];
2019-09-17 11:02:18 +00:00
meta = with lib; {
description = "Mixed sync-async queue";
homepage = "https://github.com/aio-libs/janus";
license = licenses.asl20;
maintainers = [ maintainers.simonchatts ];
};
}