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 08:52:09 +01:00
|
|
|
version = "3.11.1";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "djangorestframework";
|
2019-12-22 20:25:58 +00:00
|
|
|
disabled = isPy27;
|
2017-02-27 10:03:17 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 08:52:09 +01: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 02:11:51 +01:00
|
|
|
homepage = "https://www.django-rest-framework.org/";
|
2017-02-27 10:03:17 +00:00
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|