3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aioredis/default.nix

30 lines
722 B
Nix
Raw Normal View History

2019-09-23 11:23:44 +01:00
{ stdenv, buildPythonPackage, fetchPypi
, pkgs, async-timeout, hiredis, isPyPy, isPy27
}:
buildPythonPackage rec {
pname = "aioredis";
2019-10-24 07:47:23 +01:00
version = "1.3.0";
2019-09-23 11:23:44 +01:00
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:23 +01:00
sha256 = "86da2748fb0652625a8346f413167f078ec72bdc76e217db7e605a059cd56e86";
2019-09-23 11:23:44 +01:00
};
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 ];
};
}