Files
nixpkgs/pkgs/development/python-modules/pyairtable/default.nix
2025-08-24 12:38:24 +00:00

62 lines
993 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
inflection,
pydantic,
requests,
urllib3,
click,
pytest,
pytest-cov,
mock,
requests-mock,
tox,
}:
buildPythonPackage rec {
pname = "pyairtable";
version = "3.2.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-9v0eOr3CgBTb7N6FkcgmVgxctaLTieUYZHwuXsuIR40=";
};
build-system = [
setuptools
];
dependencies = [
setuptools
inflection
pydantic
requests
urllib3
click
];
nativeCheckInputs = [
pytest
pytest-cov
mock
requests-mock
tox
];
pythonImportsCheck = [ "pyairtable" ];
meta = {
description = "Python API Client for Airtable";
homepage = "https://pyairtable.readthedocs.io/";
changelog = "https://pyairtable.readthedocs.io/en/${version}/changelog.html";
license = lib.licenses.mit;
mainProgram = "pyairtable";
maintainers = with lib.maintainers; [ stupidcomputer ];
};
}