Unverified Commit 4ace7d29 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python3Packages.drf-spectacular: 0.28.0 -> 0.29.0

parent 693a5a71
Loading
Loading
Loading
Loading
+2 −17
Original line number Diff line number Diff line
@@ -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 = [