blob: 807b112772cf01f541eef3543adbe85cc6559d61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, buildPythonPackage
, fetchPypi
, async-timeout
, typing-extensions
, hiredis
, isPyPy
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioredis";
version = "2.0.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "3a2de4b614e6a5f8e104238924294dc4e811aefbe17ddf52c04a93cbf06e67db";
};
propagatedBuildInputs = [
async-timeout
typing-extensions
] ++ lib.optional (!isPyPy) hiredis;
# Wants to run redis-server, hardcoded FHS paths, too much trouble.
doCheck = false;
meta = with lib; {
description = "Asyncio (PEP 3156) Redis client library";
homepage = "https://github.com/aio-libs/aioredis";
license = licenses.mit;
maintainers = with maintainers; [ mmai ];
};
}
|