diff --git a/pkgs/development/python-modules/drf-spectacular/default.nix b/pkgs/development/python-modules/drf-spectacular/default.nix index 9e96aefcb664..a66e2050af80 100644 --- a/pkgs/development/python-modules/drf-spectacular/default.nix +++ b/pkgs/development/python-modules/drf-spectacular/default.nix @@ -32,31 +32,16 @@ buildPythonPackage rec { pname = "drf-spectacular"; - version = "0.28.0"; + version = "0.29.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "tfranzel"; repo = "drf-spectacular"; tag = version; - hash = "sha256-+RXcCpsNAoGxK/taEf7+7QUDrHydvy5fIdBuEXi63DQ="; + hash = "sha256-7Eq0Z/BR/tvGS6RRRoy3jOyBQkc58QETHWy47S6tSD8="; }; - patches = [ - (fetchpatch { - # https://github.com/tfranzel/drf-spectacular/pull/1090 - url = "https://github.com/tfranzel/drf-spectacular/commit/8db4c2458f8403c53db0db352dd94057d285814b.patch"; - hash = "sha256-Ue5y7IB4ie+9CEineMBgMMCLGiF4zqmn60TJvKsV1h0="; - }) - ]; - - postPatch = '' - substituteInPlace tests/conftest.py \ - --replace-fail "'allauth.account'," "'allauth.account', 'allauth.socialaccount'," - ''; - build-system = [ setuptools ]; dependencies = [