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