python312Packages.safehttpx: init at 0.1.6
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user