2018-06-23 14:27:58 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, django }:
|
2017-02-27 10:03:17 +00:00
|
|
|
buildPythonPackage rec {
|
2019-05-30 07:49:49 +01:00
|
|
|
version = "3.9.4";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "djangorestframework";
|
2017-02-27 10:03:17 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 07:49:49 +01:00
|
|
|
sha256 = "c12869cfd83c33d579b17b3cb28a2ae7322a53c3ce85580c2a2ebe4e3f56c4fb";
|
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";
|
2019-04-22 09:14:28 +01:00
|
|
|
homepage = https://www.django-rest-framework.org/;
|
2017-02-27 10:03:17 +00:00
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|