aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/janus/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/janus/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/janus/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/janus/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/janus/default.nix
new file mode 100644
index 000000000000..1999a625e4b8
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/janus/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }:
+
+buildPythonPackage rec {
+ pname = "janus";
+ version = "0.5.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0700f5537d076521851d19b7625545c5e76f6d5792ab17984f28230adcc3b34c";
+ };
+
+ 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 ];
+ };
+}