1{ stdenv, buildPythonPackage, fetchurl, django }: 2buildPythonPackage rec { 3 version = "3.7.7"; 4 pname = "djangorestframework"; 5 name = "${pname}-${version}"; 6 7 src = fetchurl { 8 url = "mirror://pypi/d/djangorestframework/${name}.tar.gz"; 9 sha256 = "9f9e94e8d22b100ed3a43cee8c47a7ff7b185e778a1f2da9ec5c73fc4e081b87"; 10 }; 11 12 # Test settings are missing 13 doCheck = false; 14 15 propagatedBuildInputs = [ django ]; 16 17 meta = with stdenv.lib; { 18 description = "Web APIs for Django, made easy"; 19 homepage = http://www.django-rest-framework.org/; 20 maintainers = with maintainers; [ desiderius ]; 21 license = licenses.bsd2; 22 }; 23}