blob: 4408f7b64f183fd301629c9fa04fc5dfaeba3020 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
requests,
typing-extensions,
}:
buildPythonPackage rec {
pname = "resend";
version = "2.19.0";
pyproject = true;
src = fetchFromGitHub {
owner = "resend";
repo = "resend-python";
tag = "v${version}";
hash = "sha256-CqwyCTqLt16fTzN5s/X200AJKTR2Ei9Vfk2wCGdJ+I8=";
};
build-system = [ setuptools ];
dependencies = [
requests
typing-extensions
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "resend" ];
meta = {
description = "SDK for Resend";
homepage = "https://github.com/resend/resend-python";
changelog = "https://github.com/resend/resend-python/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|