Unverified Commit b8fd111e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #202377 from fabaff/fastapi-mail-bump

python310Packages.fastapi-mail: 1.2.0 -> 1.2.1
parents 4fc68ddf f7857b2a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

buildPythonPackage rec {
  pname = "fastapi-mail";
  version = "1.2.0";
  version = "1.2.1";
  format = "pyproject";

  disabled = pythonOlder "3.7";
@@ -28,13 +28,12 @@ buildPythonPackage rec {
    owner = "sabuhish";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-RAUxc7spJL1QECAO0uZcCVAR/LaFIxFu61LD4RV9nEI=";
    hash = "sha256-58j3hb9selJTWitWQT8nkkhRJiPoFr0/mj5viSnnwlA=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'fastapi = "^0.75.0"' 'fastapi = "*"' \
      --replace 'httpx = "^0.22.0"' 'httpx = "*"'
      --replace 'starlette = "^0.21.0"' 'starlette = "*"'
  '';

  nativeBuildInputs = [
@@ -72,6 +71,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Module for sending emails and attachments";
    homepage = "https://github.com/sabuhish/fastapi-mail";
    changelog = "https://github.com/sabuhish/fastapi-mail/releases/tag/${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };