@@ -8666,6 +8666,34 @@ in modules // {
86668666 };
86678667 };
86688668
8669+ django_colorful = buildPythonPackage rec {
8670+ name = "django-colorful-${version}";
8671+ version = "1.2";
8672+
8673+ disabled = isPy35;
8674+
8675+ src = pkgs.fetchurl {
8676+ url = "mirror://pypi/d/django-colorful/${name}.tar.gz";
8677+ sha256 = "0y34hzvfrm1xbxrd8frybc9yzgqvz4c07frafipjikw7kfjsw8az";
8678+ };
8679+
8680+ # variable used during test
8681+ DJANGO_SETTINGS_MODULE="colorful.tests.settings";
8682+ # remove one assertion failing because of un-initialized i18n infrastructure
8683+ #patchPhase = ''
8684+ # sed -i -e '26,31d' colorful/tests/tests.py
8685+ #'';
8686+
8687+ # Requires Django >= 1.8
8688+ buildInputs = with self ; [ sqlite3 django ];
8689+
8690+ meta = {
8691+ description = "Django extension that provides database and form color fields";
8692+ homepage = https://github.com/charettes/django-colorful;
8693+ license = licenses.mit;
8694+ };
8695+ };
8696+
86698697 django_compressor = buildPythonPackage rec {
86708698 name = "django-compressor-${version}";
86718699 version = "1.5";