summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/aiosmtplib/default.nix6
-rw-r--r--pkgs/development/python-modules/fastapi-mail/default.nix10
2 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/aiosmtplib/default.nix b/pkgs/development/python-modules/aiosmtplib/default.nix
index d54718d77efa..699425233e12 100644
--- a/pkgs/development/python-modules/aiosmtplib/default.nix
+++ b/pkgs/development/python-modules/aiosmtplib/default.nix
@@ -7,11 +7,12 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
+, trustme
}:
buildPythonPackage rec {
pname = "aiosmtplib";
- version = "1.1.7";
+ version = "2.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -20,7 +21,7 @@ buildPythonPackage rec {
owner = "cole";
repo = pname;
rev = "v${version}";
- hash = "sha256-ZVNYMVg2qeMoSojmPllvJLv2Xm5IYN9h5N13oHPFXSk=";
+ hash = "sha256-NdGap6sl+3tqr/8jhDSDsun/4SiuznfqLf1banIp9EQ=";
};
nativeBuildInputs = [
@@ -32,6 +33,7 @@ buildPythonPackage rec {
hypothesis
pytest-asyncio
pytestCheckHook
+ trustme
];
pythonImportsCheck = [
diff --git a/pkgs/development/python-modules/fastapi-mail/default.nix b/pkgs/development/python-modules/fastapi-mail/default.nix
index c301bda76e91..73b618522405 100644
--- a/pkgs/development/python-modules/fastapi-mail/default.nix
+++ b/pkgs/development/python-modules/fastapi-mail/default.nix
@@ -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 = [