Commit a9b64306 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.fastapi-mail: 1.2.2 -> 1.2.4

parent 971b57a8
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

buildPythonPackage rec {
  pname = "fastapi-mail";
  version = "1.2.2";
  version = "1.2.4";
  format = "pyproject";

  disabled = pythonOlder "3.7";
@@ -28,12 +28,16 @@ buildPythonPackage rec {
    owner = "sabuhish";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-+i/p4KVppsOkj2TEoZKmjrlnkhk2wxPg2enh2QCXiQI=";
    hash = "sha256-6Iwgl15adc6wK7i8sFLeSf2HSvMo/Sx/BI44qboNnRM=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'starlette = "^0.21.0"' 'starlette = "*"'
      --replace 'version = "1.2.2"' 'version = "${version}"' \
      --replace 'aiosmtplib = "^2.0"' 'aiosmtplib = "*"' \
      --replace 'pydantic = "^1.8"' 'pydantic = "*"' \
      --replace 'starlette = "^0.22.0"' 'starlette = "*"' \
      --replace 'black = "^22.12.0"' ""
  '';

  nativeBuildInputs = [