blob: 65c1153aa1942daf189dae6baf1a5fb97a18d668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
buildPythonPackage,
certifi,
fetchFromGitHub,
pytestCheckHook,
python-dateutil,
python-dotenv,
setuptools,
six,
urllib3,
}:
buildPythonPackage (finalAttrs: {
pname = "asana";
version = "5.2.4";
pyproject = true;
src = fetchFromGitHub {
owner = "asana";
repo = "python-asana";
tag = "v${finalAttrs.version}";
hash = "sha256-Bfq3FKJoZE8edAAFVNYYrLJ8vp44QYboEVsCGsI5WMY=";
};
build-system = [ setuptools ];
dependencies = [
certifi
six
python-dateutil
python-dotenv
urllib3
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "asana" ];
disabledTestPaths = [
# Tests require network access
"build_tests/"
];
meta = {
description = "Python client library for Asana";
homepage = "https://github.com/asana/python-asana";
changelog = "https://github.com/Asana/python-asana/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ ];
};
})
|