pythonPackages.django_colorful: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-16 13:34:35 -04:00
committed by Frederik Rietdijk
parent 4906ff50a9
commit 90089d8786
2 changed files with 29 additions and 21 deletions

View File

@@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "django-colorful";
version = "1.2";
src = fetchPypi {
inherit pname version;
sha256 = "0y34hzvfrm1xbxrd8frybc9yzgqvz4c07frafipjikw7kfjsw8az";
};
# Tests aren't run
doCheck = false;
# Requires Django >= 1.8
buildInputs = [ django ];
meta = with stdenv.lib; {
description = "Django extension that provides database and form color fields";
homepage = https://github.com/charettes/django-colorful;
license = licenses.mit;
};
}