pythonPackages.django-cache-url: init at 3.0.0

This commit is contained in:
Chris Ostrouchov 2018-10-25 15:21:21 -04:00 committed by Frederik Rietdijk
parent 36eee63f36
commit f575ae13fa
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
version = "3.0.0";
pname = "django-cache-url";
src = fetchPypi {
inherit pname version;
sha256 = "235950e2d7cb16164082167c2974301e2f0fb2313d40bfacc9d24f5b09c3514b";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest tests
'';
# tests not included with pypi release
doCheck = false;
meta = with stdenv.lib; {
homepage = http://github.com/ghickman/django-cache-url;
description = "Use Cache URLs in your Django application";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -2045,6 +2045,8 @@ in {
django_colorful = callPackage ../development/python-modules/django_colorful { };
django-cache-url = callPackage ../development/python-modules/django-cache-url { };
django_compressor = callPackage ../development/python-modules/django_compressor { };
django_compat = callPackage ../development/python-modules/django-compat { };