Loading pkgs/development/python-modules/djangorestframework/default.nix +2 −13 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , fetchpatch , coreapi , django , django-guardian Loading @@ -15,26 +14,16 @@ buildPythonPackage rec { pname = "djangorestframework"; version = "3.13.1"; version = "3.14.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "encode"; repo = "django-rest-framework"; rev = version; sha256 = "sha256-XmX6DZBZYzVCe72GERplAWt5jIjV/cYercZGb0pYjoc="; sha256 = "sha256-Fnj0n3NS3SetOlwSmGkLE979vNJnYE6i6xwVBslpNz4="; }; patches = [ # See https://github.com/encode/django-rest-framework/issues/8608 # and https://github.com/encode/django-rest-framework/pull/8591/ (fetchpatch { name = "fix-django-collect-static.patch"; url = "https://github.com/encode/django-rest-framework/pull/8591/commits/65943bb58deba6ee1a89fe4504f270ab1806fce6.patch"; sha256 = "sha256-wI7EzX9tlyyXAPrJEr+/2uTg7dVY98IKgh7Cc/NZo5k="; }) ]; propagatedBuildInputs = [ django pytz Loading Loading
pkgs/development/python-modules/djangorestframework/default.nix +2 −13 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , fetchpatch , coreapi , django , django-guardian Loading @@ -15,26 +14,16 @@ buildPythonPackage rec { pname = "djangorestframework"; version = "3.13.1"; version = "3.14.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "encode"; repo = "django-rest-framework"; rev = version; sha256 = "sha256-XmX6DZBZYzVCe72GERplAWt5jIjV/cYercZGb0pYjoc="; sha256 = "sha256-Fnj0n3NS3SetOlwSmGkLE979vNJnYE6i6xwVBslpNz4="; }; patches = [ # See https://github.com/encode/django-rest-framework/issues/8608 # and https://github.com/encode/django-rest-framework/pull/8591/ (fetchpatch { name = "fix-django-collect-static.patch"; url = "https://github.com/encode/django-rest-framework/pull/8591/commits/65943bb58deba6ee1a89fe4504f270ab1806fce6.patch"; sha256 = "sha256-wI7EzX9tlyyXAPrJEr+/2uTg7dVY98IKgh7Cc/NZo5k="; }) ]; propagatedBuildInputs = [ django pytz Loading