Files
nixpkgs/pkgs/development/python-modules/asgi_redis/default.nix
T

25 lines
648 B
Nix
Raw Normal View History

2017-09-28 14:01:19 +02:00
{ stdenv, buildPythonPackage, fetchPypi,
2017-04-26 14:37:24 +02:00
asgiref, asgi_ipc, msgpack, six, redis, cryptography
}:
buildPythonPackage rec {
2017-09-28 14:01:19 +02:00
version = "1.4.3";
2017-05-27 11:25:35 +02:00
pname = "asgi_redis";
name = "${pname}-${version}";
2017-04-26 14:37:24 +02:00
2017-09-28 14:01:19 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "10xk7k7mcd28nb3v93mc8xa7sa6p02jnbl8idk6scr6p75jaixzi";
2017-04-26 14:37:24 +02:00
};
# Requires a redis server available
doCheck = false;
propagatedBuildInputs = [ asgiref asgi_ipc msgpack six redis cryptography ];
meta = with stdenv.lib; {
description = "Redis-backed ASGI channel layer implementation";
license = licenses.bsd3;
homepage = https://github.com/django/asgi_redis/;
2017-04-26 14:37:24 +02:00
};
}