2017-02-27 10:03:17 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl, django }:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 13:24:47 +01:00
|
|
|
version = "3.6.3";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "djangorestframework";
|
|
|
|
name = "${pname}-${version}";
|
2017-02-27 10:03:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/d/djangorestframework/${name}.tar.gz";
|
2017-05-27 13:24:47 +01:00
|
|
|
sha256 = "6aa6aafdfb7f6152a401873ecae93aff9eb54d7a74266065347cf4de68278ae4";
|
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;
|
|
|
|
};
|
|
|
|
}
|