Merge pull request #198986 from SuperSandro2000/python310Packages.djangorestframework

authored by

Sandro and committed by
GitHub
d54708ec fc20c52a

+2 -13
+2 -13
pkgs/development/python-modules/djangorestframework/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , coreapi 6 5 , django 7 6 , django-guardian ··· 15 14 16 15 buildPythonPackage rec { 17 16 pname = "djangorestframework"; 18 - version = "3.13.1"; 17 + version = "3.14.0"; 19 18 disabled = pythonOlder "3.6"; 20 19 21 20 src = fetchFromGitHub { 22 21 owner = "encode"; 23 22 repo = "django-rest-framework"; 24 23 rev = version; 25 - sha256 = "sha256-XmX6DZBZYzVCe72GERplAWt5jIjV/cYercZGb0pYjoc="; 24 + sha256 = "sha256-Fnj0n3NS3SetOlwSmGkLE979vNJnYE6i6xwVBslpNz4="; 26 25 }; 27 - 28 - patches = [ 29 - # See https://github.com/encode/django-rest-framework/issues/8608 30 - # and https://github.com/encode/django-rest-framework/pull/8591/ 31 - (fetchpatch { 32 - name = "fix-django-collect-static.patch"; 33 - url = "https://github.com/encode/django-rest-framework/pull/8591/commits/65943bb58deba6ee1a89fe4504f270ab1806fce6.patch"; 34 - sha256 = "sha256-wI7EzX9tlyyXAPrJEr+/2uTg7dVY98IKgh7Cc/NZo5k="; 35 - }) 36 - ]; 37 26 38 27 propagatedBuildInputs = [ 39 28 django