mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
pythonPackages.aioredis: init at 1.2.0
This commit is contained in:
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user