From 772ab40c525e15e46f35b192d036ef06872d0d59 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 26 Mar 2016 11:54:21 +0000 Subject: [PATCH] django packaging: remove remaining uses of makeOverridable for django-depending packages --- pkgs/top-level/python-packages.nix | 42 +++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 88c238ef8b43..39e47be572bd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8278,7 +8278,7 @@ in modules // { }; }; - django_redis = makeOverridable ({ django ? self.django }: buildPythonPackage rec { + django_redis = buildPythonPackage rec { name = "django-redis-${version}"; version = "4.2.0"; @@ -8289,18 +8289,18 @@ in modules // { buildInputs = [ self.mock ]; - propagatedBuildInputs = [ django ] ++ - (with self; [ - redis - msgpack - ]); + 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 { 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}"; version = "0.5.6"; @@ -8333,25 +8333,25 @@ in modules // { buildInputs = [ self.mock ]; - propagatedBuildInputs = [ django ] ++ - (with self; [ - pygments - simplejson - dateutil - requests2 - sqlparse - jinja2 - autopep8 - pytz - pillow - ]); + propagatedBuildInputs = with self; [ + django + pygments + simplejson + dateutil + requests2 + sqlparse + jinja2 + autopep8 + pytz + pillow + ]; meta = { description = "Silky smooth profiling for the Django Framework"; homepage = https://github.com/mtford90/silk; license = licenses.mit; }; - }) {}; + }; django_taggit = buildPythonPackage rec { name = "django-taggit-${version}";