at master 836 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 httpx, 6 poetry-core, 7 strenum, 8}: 9 10buildPythonPackage rec { 11 pname = "supafunc"; 12 version = "0.10.2"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-ReTVAIVBZ8JhUVxD96NjMg4KkoEYGC/okyre/d7dtUU="; 18 }; 19 20 build-system = [ poetry-core ]; 21 22 dependencies = [ 23 strenum 24 httpx 25 ] 26 ++ httpx.optional-dependencies.http2; 27 28 # Tests are not in PyPI package and source is not tagged 29 doCheck = false; 30 31 pythonImportsCheck = [ "supafunc" ]; 32 33 meta = { 34 description = "Library for Supabase Functions"; 35 homepage = "https://github.com/supabase/functions-py"; 36 changelog = "https://github.com/supabase/functions-py/blob/v${version}/CHANGELOG.md"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ siegema ]; 39 }; 40}