summary refs log tree commit diff
path: root/pkgs/development/python-modules/django_colorful/default.nix
blob: 7da878880dabfc55a48065562519baec5fc56ce5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
  };

}