blob: 282fc72eef0095fb12352509a8f279f7298ca597 (
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 rec {
pname = "asana";
version = "5.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "asana";
repo = "python-asana";
tag = "v${version}";
hash = "sha256-5GgBFZuiQDQXvZECIqY+kXTrUzkuoD8pJGKIg4TD1fw=";
};
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/${src.tag}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|