python3Packages.baidu-aip: init at 4.16.1 (#432691)

This commit is contained in:
Fabian Affolter
2025-08-13 11:28:10 +02:00
committed by GitHub
3 changed files with 43 additions and 1 deletions
@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
chardet,
requests,
}:
buildPythonPackage rec {
pname = "baidu-aip";
version = "4.16.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-zNYjEVVwhqFAR7w7CR3rWYefUZcM+sPZ87KYfDDLxN0=";
};
build-system = [ setuptools ];
dependencies = [
chardet
requests
];
# Package has no tests
doCheck = false;
pythonImportsCheck = [ "aip" ];
meta = {
description = "Baidu AI Platform SDK for Python";
homepage = "https://github.com/Baidu-AIP/python-sdk";
changelog = "https://github.com/Baidu-AIP/python-sdk/releases";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
@@ -537,7 +537,8 @@
];
"baidu" =
ps: with ps; [
]; # missing inputs: baidu-aip
baidu-aip
];
"balay" =
ps: with ps; [
];
+2
View File
@@ -1655,6 +1655,8 @@ self: super: with self; {
bagit = callPackage ../development/python-modules/bagit { };
baidu-aip = callPackage ../development/python-modules/baidu-aip { };
baize = callPackage ../development/python-modules/baize { };
bambi = callPackage ../development/python-modules/bambi { };