1{ lib 2, attrs 3, buildPythonPackage 4, fetchFromGitHub 5, future 6, python-dateutil 7, pytestCheckHook 8, pythonOlder 9, requests 10, requests-mock 11}: 12 13buildPythonPackage rec { 14 pname = "py-tes"; 15 version = "0.4.2"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "ohsu-comp-bio"; 22 repo = pname; 23 rev = version; 24 hash = "sha256-HZeyCQHiqfdquWQD5axS73JDjDMUieONwm5VyA+vTFk="; 25 }; 26 27 propagatedBuildInputs = [ 28 attrs 29 future 30 python-dateutil 31 requests 32 ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 requests-mock 37 ]; 38 39 pythonImportsCheck = [ 40 "tes" 41 ]; 42 43 meta = with lib; { 44 description = "Python SDK for the GA4GH Task Execution API"; 45 homepage = "https://github.com/ohsu-comp-bio/py-tes"; 46 license = with licenses; [ mit ]; 47 maintainers = with maintainers; [ fab ]; 48 }; 49}