mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
pythonPackages.django_redis: 4.2.0 -> 4.5.0
This commit is contained in:
parent
6960348f2e
commit
92c0f467ba
2 changed files with 29 additions and 25 deletions
28
pkgs/development/python-modules/django_redis/default.nix
Normal file
28
pkgs/development/python-modules/django_redis/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -8398,31 +8398,7 @@ in {
|
||||||
|
|
||||||
django-raster = callPackage ../development/python-modules/django-raster { };
|
django-raster = callPackage ../development/python-modules/django-raster { };
|
||||||
|
|
||||||
django_redis = buildPythonPackage rec {
|
django_redis = callPackage ../development/python-modules/django_redis { };
|
||||||
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_reversion = buildPythonPackage rec {
|
django_reversion = buildPythonPackage rec {
|
||||||
name = "django-reversion-${version}";
|
name = "django-reversion-${version}";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue