pythonPackages.aioredis: init at 1.2.0

This commit is contained in:
Henri Bourcereau 2019-09-23 12:23:44 +02:00 committed by worldofpeace
parent 35bf794787
commit 93ab2aedfa
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, buildPythonPackage, fetchPypi
, pkgs, async-timeout, hiredis, isPyPy, isPy27
}:
buildPythonPackage rec {
pname = "aioredis";
version = "1.2.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "06i53xpz4x6qrmdxqwvkpd17lbgmwfq20v0jrwc73f5y57kjpml4";
};
propagatedBuildInputs = [
async-timeout
] ++ stdenv.lib.optional (!isPyPy) hiredis;
# Wants to run redis-server, hardcoded FHS paths, too much trouble.
doCheck = false;
meta = with stdenv.lib; {
description = "Asyncio (PEP 3156) Redis client library";
homepage = https://github.com/aio-libs/aioredis;
license = licenses.mit;
maintainers = with maintainers; [ mmai ];
};
}

View File

@ -163,6 +163,8 @@ in {
aioamqp = callPackage ../development/python-modules/aioamqp { };
aioredis = callPackage ../development/python-modules/aioredis { };
ansicolor = callPackage ../development/python-modules/ansicolor { };
ansi2html = callPackage ../development/python-modules/ansi2html { };