2017-02-27 11:03:17 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl, django }:
|
|
|
|
buildPythonPackage rec {
|
2017-12-30 12:22:20 +01:00
|
|
|
version = "3.7.7";
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "djangorestframework";
|
|
|
|
name = "${pname}-${version}";
|
2017-02-27 11:03:17 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/d/djangorestframework/${name}.tar.gz";
|
2017-12-30 12:22:20 +01:00
|
|
|
sha256 = "9f9e94e8d22b100ed3a43cee8c47a7ff7b185e778a1f2da9ec5c73fc4e081b87";
|
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";
|
|
|
|
homepage = http://www.django-rest-framework.org/;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|