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