mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
python3Packages.aioredis: 1.3.1 -> 2.0.0
This commit is contained in:
parent
f538ffd307
commit
7252c7a997
|
@ -1,20 +1,27 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pkgs, async-timeout, hiredis, isPyPy, isPy27
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, async-timeout
|
||||
, typing-extensions
|
||||
, hiredis
|
||||
, isPyPy
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioredis";
|
||||
version = "1.3.1";
|
||||
version = "2.0.0";
|
||||
|
||||
disabled = isPy27;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0fi7jd5hlx8cnv1m97kv9hc4ih4l8v15wzkqwsp73is4n0qazy0m";
|
||||
sha256 = "3a2de4b614e6a5f8e104238924294dc4e811aefbe17ddf52c04a93cbf06e67db";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async-timeout
|
||||
typing-extensions
|
||||
] ++ lib.optional (!isPyPy) hiredis;
|
||||
|
||||
# Wants to run redis-server, hardcoded FHS paths, too much trouble.
|
||||
|
|
Loading…
Reference in a new issue