summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-extensions/default.nix
blob: 9d1161fca3b65d3ceb33a7df392112903b3a03fe (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, fetchFromGitHub
, vobject, mock, tox, pytestcov, pytest-django, pytest, shortuuid
, django, six
}:

buildPythonPackage rec {
  pname = "django-extensions";
  version = "1.8.1";
  name = "${pname}-${version}";

  src = fetchFromGitHub {
    owner = "${pname}";
    repo = "${pname}";
    rev = "${version}";
    sha256 = "08rd9zswvjb9dixzyd3p3l3hw3wwhqkgyjvid65niybzjl1xdb5h";
  };

  buildInputs = [ vobject mock tox pytestcov pytest-django pytest shortuuid ];

  propagatedBuildInputs = [ django six ];

  meta = with stdenv.lib; {
    description = "A collection of custom extensions for the Django Framework";
    homepage = https://github.com/django-extensions/django-extensions;
    license = licenses.mit;
  };
}