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

25 lines
685 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchurl,
asgiref, asgi_ipc, msgpack, six, redis, cryptography
}:
buildPythonPackage rec {
2017-06-21 08:03:40 +01:00
version = "1.4.2";
pname = "asgi_redis";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/a/asgi_redis/${name}.tar.gz";
2017-06-21 08:03:40 +01:00
sha256 = "aa8e9342a3e66c4e7f9035b074f6f66b92e5f1cf8022f1446106ed6dd004a274";
};
# 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 = http://github.com/django/asgi_redis/;
};
}