pythonPackages.djangorestframework: 3.11.2 -> 3.12.2

This commit is contained in:
Sebastian Jordan 2020-12-31 11:25:08 +01:00 committed by Jonathan Ringer
parent 9726c4ec52
commit 33796d9695

View File

@ -1,13 +1,15 @@
{ stdenv, buildPythonPackage, fetchPypi, django, isPy27 }:
{ stdenv, buildPythonPackage, fetchFromGitHub, django, isPy27 }:
buildPythonPackage rec {
version = "3.11.2";
version = "3.12.2";
pname = "djangorestframework";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "a5967b68a04e0d97d10f4df228e30f5a2d82ba63b9d03e1759f84993b7bf1b53";
src = fetchFromGitHub {
owner = "encode";
repo = "django-rest-framework";
rev = version;
sha256 = "y/dw6qIOc6NaNpBWJXDwHX9aFodgKv9rGKWQKS6STlk=";
};
# Test settings are missing