2019-12-22 12:25:58 -08:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, django, isPy27 }:
|
|
|
|
|
2017-02-27 02:03:17 -08:00
|
|
|
buildPythonPackage rec {
|
2020-08-16 00:52:09 -07:00
|
|
|
version = "3.11.1";
|
2017-05-27 02:25:35 -07:00
|
|
|
pname = "djangorestframework";
|
2019-12-22 12:25:58 -08:00
|
|
|
disabled = isPy27;
|
2017-02-27 02:03:17 -08:00
|
|
|
|
2018-06-23 06:27:58 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 00:52:09 -07:00
|
|
|
sha256 = "6dd02d5a4bd2516fb93f80360673bf540c3b6641fec8766b1da2870a5aa00b32";
|
2017-02-27 02:03:17 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
# Test settings are missing
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Web APIs for Django, made easy";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://www.django-rest-framework.org/";
|
2017-02-27 02:03:17 -08:00
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|