python312Packages.safehttpx: init at 0.1.6

This commit is contained in:
FliegendeWurst
2025-01-06 14:01:04 +01:00
parent 844f2a5fff
commit 5a9982cc29
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,38 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
httpx,
pythonOlder,
}:
buildPythonPackage rec {
pname = "safehttpx";
version = "0.1.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-s1a/yCzuOiTDlblKLb6rvtYK/xql+jtf6XxPJFbrzkI=";
};
build-system = [
hatchling
];
dependencies = [
httpx
];
pythonImportsCheck = [ "safehttpx" ];
doCheck = false; # require network access
meta = {
description = "SSRF-safe wrapper around httpx";
homepage = "https://github.com/gradio-app/safehttpx";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fliegendewurst ];
};
}
+2
View File
@@ -14359,6 +14359,8 @@ self: super: with self; {
safe-pysha3 = callPackage ../development/python-modules/safe-pysha3 { };
safehttpx = callPackage ../development/python-modules/safehttpx { };
safeio = callPackage ../development/python-modules/safeio { };
safetensors = callPackage ../development/python-modules/safetensors { };