2018-06-23 14:27:58 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, django }:
|
2017-02-27 10:03:17 +00:00
|
|
|
buildPythonPackage rec {
|
2018-04-08 07:32:34 +01:00
|
|
|
version = "3.8.2";
|
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;
|
2018-04-08 07:32:34 +01:00
|
|
|
sha256 = "b6714c3e4b0f8d524f193c91ecf5f5450092c2145439ac2769711f7eba89a9d9";
|
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";
|
|
|
|
homepage = http://www.django-rest-framework.org/;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|