1{ stdenv, buildPythonPackage, fetchPypi, django, isPy27 }:
2
3buildPythonPackage rec {
4 version = "3.11.0";
5 pname = "djangorestframework";
6 disabled = isPy27;
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "e782087823c47a26826ee5b6fa0c542968219263fb3976ec3c31edab23a4001f";
11 };
12
13 # Test settings are missing
14 doCheck = false;
15
16 propagatedBuildInputs = [ django ];
17
18 meta = with stdenv.lib; {
19 description = "Web APIs for Django, made easy";
20 homepage = https://www.django-rest-framework.org/;
21 maintainers = with maintainers; [ desiderius ];
22 license = licenses.bsd2;
23 };
24}