pythonPackages.djangorestframework: python2 no longer supported

This commit is contained in:
Jonathan Ringer 2019-12-22 12:25:58 -08:00 committed by Frederik Rietdijk
parent d64c5457f4
commit 7917f24840

View File

@ -1,7 +1,9 @@
{ stdenv, buildPythonPackage, fetchPypi, django }: { stdenv, buildPythonPackage, fetchPypi, django, isPy27 }:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.11.0"; version = "3.11.0";
pname = "djangorestframework"; pname = "djangorestframework";
disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;