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