1{ stdenv, buildPythonPackage, fetchurl, django }: 2buildPythonPackage rec { 3 version = "3.6.4"; 4 pname = "djangorestframework"; 5 name = "${pname}-${version}"; 6 7 src = fetchurl { 8 url = "mirror://pypi/d/djangorestframework/${name}.tar.gz"; 9 sha256 = "de8ac68b3cf6dd41b98e01dcc92dc0022a5958f096eafc181a17fa975d18ca42"; 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}