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