Files
nixpkgs/pkgs/development/python-modules/baidu-aip/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
741 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}