Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 36 lines 741 B view raw
1{ buildPythonPackage 2, fetchPypi 3, lib 4, django 5, funcy 6, redis 7, six 8}: 9 10buildPythonPackage rec { 11 pname = "django-cacheops"; 12 version = "5.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-1YUc178whzhKH87PqN3bj1UDDu39b98SciW3W8oPmd0="; 17 }; 18 19 propagatedBuildInputs = [ 20 django 21 funcy 22 redis 23 six 24 ]; 25 26 # tests need a redis server 27 # pythonImportsCheck not possible since DJANGO_SETTINGS_MODULE needs to be set 28 doCheck = false; 29 30 meta = with lib; { 31 description = "A slick ORM cache with automatic granular event-driven invalidation for Django"; 32 homepage = "https://github.com/Suor/django-cacheops"; 33 license = licenses.bsd3; 34 maintainers = with maintainers; [ petabyteboy ]; 35 }; 36}