mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
pythonPackages.asgi_redis: 1.0.0 -> 1.3.0
This commit is contained in:
parent
c767920189
commit
d965c8e6e9
2 changed files with 24 additions and 20 deletions
23
pkgs/development/python-modules/asgi_redis/default.nix
Normal file
23
pkgs/development/python-modules/asgi_redis/default.nix
Normal 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/;
|
||||
};
|
||||
}
|
|
@ -812,26 +812,7 @@ in {
|
|||
|
||||
asgi_ipc = callPackage ../development/python-modules/asgi_ipc { };
|
||||
|
||||
asgi_redis = buildPythonPackage rec {
|
||||
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/;
|
||||
};
|
||||
};
|
||||
asgi_redis = callPackage ../development/python-modules/asgi_redis { };
|
||||
|
||||
python-editor = buildPythonPackage rec {
|
||||
name = "python-editor-${version}";
|
||||
|
|
Loading…
Reference in a new issue