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