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