3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
36 lines
741 B
Nix
36 lines
741 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, django
|
|
, funcy
|
|
, redis
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-cacheops";
|
|
version = "6.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-toTvOf1DQYnTy7fYVBfNlyr2NSiaAyRHmCRztKifcn0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
django
|
|
funcy
|
|
redis
|
|
six
|
|
];
|
|
|
|
# tests need a redis server
|
|
# pythonImportsCheck not possible since DJANGO_SETTINGS_MODULE needs to be set
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A slick ORM cache with automatic granular event-driven invalidation for Django";
|
|
homepage = "https://github.com/Suor/django-cacheops";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ petabyteboy ];
|
|
};
|
|
}
|