summary refs log tree commit diff
path: root/pkgs/development/python-modules/django_classytags/default.nix
blob: d3ed0fd18410367208b56af1dee12fead5b73dbf (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
{ stdenv
, buildPythonPackage
, fetchPypi
, django
}:

buildPythonPackage rec {
  pname = "django-classy-tags";
  version = "0.8.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1f2dc9rq8v9sc4kv4x9hmbzp5c4amdxjkz5nzas5abg2s1hr2bvr";
  };

  propagatedBuildInputs = [ django ];

  # pypi version doesn't include runtest.py, needed to run tests
  doCheck = false;

  meta = with stdenv.lib; {
    description = "Class based template tags for Django";
    homepage = https://github.com/ojii/django-classy-tags;
    license = licenses.bsd3;
  };

}