1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6
7 inflection,
8 pydantic,
9 requests,
10 urllib3,
11 click,
12
13 pytest,
14 pytest-cov,
15 mock,
16 requests-mock,
17 tox,
18}:
19
20buildPythonPackage rec {
21 pname = "pyairtable";
22 version = "3.2.0";
23 pyproject = true;
24
25 src = fetchPypi {
26 inherit pname version;
27 hash = "sha256-9v0eOr3CgBTb7N6FkcgmVgxctaLTieUYZHwuXsuIR40=";
28 };
29
30 build-system = [
31 setuptools
32 ];
33
34 dependencies = [
35 setuptools
36 inflection
37 pydantic
38 requests
39 urllib3
40 click
41 ];
42
43 nativeCheckInputs = [
44 pytest
45 pytest-cov
46 mock
47 requests-mock
48 tox
49 ];
50
51 pythonImportsCheck = [ "pyairtable" ];
52
53 meta = {
54 description = "Python API Client for Airtable";
55 homepage = "https://pyairtable.readthedocs.io/";
56 changelog = "https://pyairtable.readthedocs.io/en/${version}/changelog.html";
57 license = lib.licenses.mit;
58 mainProgram = "pyairtable";
59 maintainers = with lib.maintainers; [ stupidcomputer ];
60 };
61}