pythonPackages.django_redis: 4.2.0 -> 4.5.0

This commit is contained in:
Lancelot SIX 2017-09-28 14:00:49 +02:00
parent 6960348f2e
commit 92c0f467ba
No known key found for this signature in database
GPG key ID: 02E1542BA66FB047
2 changed files with 29 additions and 25 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchPypi, buildPythonPackage,
mock, django, redis, msgpack }:
buildPythonPackage rec {
pname = "django-redis";
version = "4.5.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "170dbk1wmdg0mxp5m3376zz54dyxmhmhnswrccf0jnny1wqcgpsp";
};
doCheck = false;
buildInputs = [ mock ];
propagatedBuildInputs = [
django
redis
msgpack
];
meta = with stdenv.lib; {
description = "Full featured redis cache backend for Django";
homepage = https://github.com/niwibe/django-redis;
license = licenses.bsd3;
};
}

View file

@ -8398,31 +8398,7 @@ in {
django-raster = callPackage ../development/python-modules/django-raster { };
django_redis = buildPythonPackage rec {
name = "django-redis-${version}";
version = "4.2.0";
src = pkgs.fetchurl {
url = "mirror://pypi/d/django-redis/${name}.tar.gz";
sha256 = "9ad6b299458f7e6bfaefa8905f52560017369d82fb8fb0ed4b41adc048dbf11c";
};
doCheck = false;
buildInputs = [ self.mock ];
propagatedBuildInputs = with self; [
django
redis
msgpack
];
meta = {
description = "Full featured redis cache backend for Django";
homepage = https://github.com/niwibe/django-redis;
license = licenses.bsd3;
};
};
django_redis = callPackage ../development/python-modules/django_redis { };
django_reversion = buildPythonPackage rec {
name = "django-reversion-${version}";