3
0
Fork 0
forked from mirrors/nixpkgs

django packaging: remove remaining uses of makeOverridable for django-depending packages

This commit is contained in:
Robert Scott 2016-03-26 11:54:21 +00:00
parent ce2c13675d
commit 772ab40c52

View file

@ -8278,7 +8278,7 @@ in modules // {
}; };
}; };
django_redis = makeOverridable ({ django ? self.django }: buildPythonPackage rec { django_redis = buildPythonPackage rec {
name = "django-redis-${version}"; name = "django-redis-${version}";
version = "4.2.0"; version = "4.2.0";
@ -8289,18 +8289,18 @@ in modules // {
buildInputs = [ self.mock ]; buildInputs = [ self.mock ];
propagatedBuildInputs = [ django ] ++ propagatedBuildInputs = with self; [
(with self; [ django
redis redis
msgpack msgpack
]); ];
meta = { meta = {
description = "Full featured redis cache backend for Django"; description = "Full featured redis cache backend for Django";
homepage = https://github.com/niwibe/django-redis; homepage = https://github.com/niwibe/django-redis;
license = licenses.bsd3; license = licenses.bsd3;
}; };
}) {}; };
django_reversion = buildPythonPackage rec { django_reversion = buildPythonPackage rec {
name = "django-reversion-${version}"; name = "django-reversion-${version}";
@ -8322,7 +8322,7 @@ in modules // {
}; };
}; };
django_silk = makeOverridable ({ django ? self.django }: buildPythonPackage rec { django_silk = buildPythonPackage rec {
name = "django-silk-${version}"; name = "django-silk-${version}";
version = "0.5.6"; version = "0.5.6";
@ -8333,25 +8333,25 @@ in modules // {
buildInputs = [ self.mock ]; buildInputs = [ self.mock ];
propagatedBuildInputs = [ django ] ++ propagatedBuildInputs = with self; [
(with self; [ django
pygments pygments
simplejson simplejson
dateutil dateutil
requests2 requests2
sqlparse sqlparse
jinja2 jinja2
autopep8 autopep8
pytz pytz
pillow pillow
]); ];
meta = { meta = {
description = "Silky smooth profiling for the Django Framework"; description = "Silky smooth profiling for the Django Framework";
homepage = https://github.com/mtford90/silk; homepage = https://github.com/mtford90/silk;
license = licenses.mit; license = licenses.mit;
}; };
}) {}; };
django_taggit = buildPythonPackage rec { django_taggit = buildPythonPackage rec {
name = "django-taggit-${version}"; name = "django-taggit-${version}";