pythonPackages.asgi_redis: 1.0.0 -> 1.3.0

This commit is contained in:
Lancelot SIX 2017-04-26 14:37:24 +02:00
parent c767920189
commit d965c8e6e9
No known key found for this signature in database
GPG Key ID: 02E1542BA66FB047
2 changed files with 24 additions and 20 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchurl,
asgiref, asgi_ipc, msgpack, six, redis, cryptography
}:
buildPythonPackage rec {
name = "asgi_redis-${version}";
version = "1.3.0";
src = fetchurl {
url = "mirror://pypi/a/asgi_redis/${name}.tar.gz";
sha256 = "0zhv51w0fx3i8m0032nk9v00l6mxaswyi95yzy7p7fjww4q74ncl";
};
# 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/;
};
}

View File

@ -812,26 +812,7 @@ in {
asgi_ipc = callPackage ../development/python-modules/asgi_ipc { }; asgi_ipc = callPackage ../development/python-modules/asgi_ipc { };
asgi_redis = buildPythonPackage rec { asgi_redis = callPackage ../development/python-modules/asgi_redis { };
name = "asgi_redis-${version}";
version = "1.0.0";
src = pkgs.fetchurl {
url = "mirror://pypi/a/asgi_redis/${name}.tar.gz";
sha256 = "1pdzxannmgb0as2x6xy0rk4xi8ygnsggpsa0z31pzpwbk6jsgwxd";
};
# Requires a redis server available
doCheck = false;
propagatedBuildInputs = with self ; [ asgiref asgi_ipc msgpack six redis cryptography ];
meta = {
description = "Redis-backed ASGI channel layer implementation";
license = licenses.bsd3;
homepage = http://github.com/django/asgi_redis/;
};
};
python-editor = buildPythonPackage rec { python-editor = buildPythonPackage rec {
name = "python-editor-${version}"; name = "python-editor-${version}";