blob: 8dfd5301fb0676a0677624edf54fda318a2cd164 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
httpx,
poetry-core,
strenum,
}:
buildPythonPackage rec {
pname = "supafunc";
version = "0.10.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-ReTVAIVBZ8JhUVxD96NjMg4KkoEYGC/okyre/d7dtUU=";
};
build-system = [ poetry-core ];
dependencies = [
strenum
httpx
]
++ httpx.optional-dependencies.http2;
# Tests are not in PyPI package and source is not tagged
doCheck = false;
pythonImportsCheck = [ "supafunc" ];
meta = {
description = "Library for Supabase Functions";
homepage = "https://github.com/supabase/functions-py";
changelog = "https://github.com/supabase/functions-py/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ siegema ];
};
}
|