pythonPackages.aioredis: init at 1.2.0
This commit is contained in:
committed by
worldofpeace
parent
35bf794787
commit
93ab2aedfa
29
pkgs/development/python-modules/aioredis/default.nix
Normal file
29
pkgs/development/python-modules/aioredis/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user