62 lines
993 B
Nix
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 ];
|
|
};
|
|
}
|