1{ stdenv, buildPythonPackage, fetchFromGitHub 2, vobject, mock, tox, pytestcov, pytest-django, pytest, shortuuid 3, django, six 4}: 5 6buildPythonPackage rec { 7 pname = "django-extensions"; 8 version = "1.8.1"; 9 name = "${pname}-${version}"; 10 11 src = fetchFromGitHub { 12 owner = "${pname}"; 13 repo = "${pname}"; 14 rev = "${version}"; 15 sha256 = "08rd9zswvjb9dixzyd3p3l3hw3wwhqkgyjvid65niybzjl1xdb5h"; 16 }; 17 18 buildInputs = [ vobject mock tox pytestcov pytest-django pytest shortuuid ]; 19 20 propagatedBuildInputs = [ django six ]; 21 22 meta = with stdenv.lib; { 23 description = "A collection of custom extensions for the Django Framework"; 24 homepage = https://github.com/django-extensions/django-extensions; 25 license = licenses.mit; 26 }; 27}