python313Packages.supafunc: refactor

Changed files
+9 -9
pkgs
development
python-modules
supafunc
+9 -9
pkgs/development/python-modules/supafunc/default.nix
···
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
strenum,
-
httpx,
-
h2,
}:
buildPythonPackage rec {
···
hash = "sha256-ReTVAIVBZ8JhUVxD96NjMg4KkoEYGC/okyre/d7dtUU=";
};
dependencies = [
strenum
httpx
-
h2
-
];
-
build-system = [ poetry-core ];
pythonImportsCheck = [ "supafunc" ];
-
# tests are not in pypi package
-
doCheck = false;
-
meta = {
homepage = "https://github.com/supabase/functions-py";
license = lib.licenses.mit;
-
description = "Library for Supabase Functions";
maintainers = with lib.maintainers; [ siegema ];
};
}
···
lib,
buildPythonPackage,
fetchPypi,
+
httpx,
poetry-core,
strenum,
}:
buildPythonPackage rec {
···
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 ];
};
}