1{ lib 2, arrow 3, buildPythonPackage 4, fetchFromGitHub 5, pytest-datafiles 6, pytest-vcr 7, pytestCheckHook 8, python-box 9, requests 10}: 11 12buildPythonPackage rec { 13 pname = "restfly"; 14 version = "1.4.4"; 15 16 src = fetchFromGitHub { 17 owner = "stevemcgrath"; 18 repo = pname; 19 rev = version; 20 sha256 = "sha256-T5NfG+Vuguh6xZ/Rdx3a1vMDgXPcl/OYhOkxb76yEXg="; 21 }; 22 23 propagatedBuildInputs = [ 24 requests 25 arrow 26 python-box 27 ]; 28 29 checkInputs = [ 30 pytest-datafiles 31 pytest-vcr 32 pytestCheckHook 33 ]; 34 35 disabledTests = [ 36 # Test requires network access 37 "test_session_ssl_error" 38 ]; 39 40 pythonImportsCheck = [ "restfly" ]; 41 42 meta = with lib; { 43 description = "Python RESTfly API Library Framework"; 44 homepage = "https://github.com/stevemcgrath/restfly"; 45 license = with licenses; [ mit ]; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}