1{
2 lib,
3 attrs,
4 buildPythonPackage,
5 fetchFromGitHub,
6 future,
7 python-dateutil,
8 pytestCheckHook,
9 pythonOlder,
10 requests,
11 requests-mock,
12 setuptools,
13 sphinx-rtd-theme,
14}:
15
16buildPythonPackage rec {
17 pname = "py-tes";
18 version = "1.1.2";
19 pyproject = true;
20
21 disabled = pythonOlder "3.7";
22
23 src = fetchFromGitHub {
24 owner = "ohsu-comp-bio";
25 repo = "py-tes";
26 tag = version;
27 hash = "sha256-hZF4koc/nZ8rBYKfhIQCLtn4DKiljJrSBgkKX8bMoQ0=";
28 };
29
30 build-system = [ setuptools ];
31
32 dependencies = [
33 attrs
34 future
35 python-dateutil
36 requests
37 sphinx-rtd-theme
38 ];
39
40 nativeCheckInputs = [
41 pytestCheckHook
42 requests-mock
43 ];
44
45 pythonImportsCheck = [ "tes" ];
46
47 disabledTestPaths = [
48 # Tests require running funnel
49 "tests/integration"
50 ];
51
52 meta = with lib; {
53 description = "Python SDK for the GA4GH Task Execution API";
54 homepage = "https://github.com/ohsu-comp-bio/py-tes";
55 changelog = "https://github.com/ohsu-comp-bio/py-tes/releases/tag/${version}";
56 license = licenses.mit;
57 maintainers = with maintainers; [ fab ];
58 };
59}