1{ lib 2, buildPythonPackage 3, factory-boy 4, fetchFromGitHub 5, httpretty 6, inflection 7, jsondate 8, mock 9, more-itertools 10, numpy 11, pandas 12, parameterized 13, pytestCheckHook 14, python-dateutil 15, pythonOlder 16, requests 17, six 18}: 19 20buildPythonPackage rec { 21 pname = "nasdaq-data-link"; 22 version = "1.0.4"; 23 format = "setuptools"; 24 25 disabled = pythonOlder "3.7"; 26 27 src = fetchFromGitHub { 28 owner = "Nasdaq"; 29 repo = "data-link-python"; 30 rev = "refs/tags/${version}"; 31 hash = "sha256-Q3Ay9FpJsvSVu0WU2bxFyo3ODKP/ZUo3SqsBtOGrIIE="; 32 }; 33 34 propagatedBuildInputs = [ 35 inflection 36 more-itertools 37 numpy 38 pandas 39 python-dateutil 40 requests 41 six 42 ]; 43 44 nativeCheckInputs = [ 45 factory-boy 46 httpretty 47 jsondate 48 mock 49 parameterized 50 pytestCheckHook 51 ]; 52 53 pythonImportsCheck = [ 54 "nasdaqdatalink" 55 ]; 56 57 meta = with lib; { 58 description = "Library for Nasdaq Data Link's RESTful API"; 59 homepage = "https://github.com/Nasdaq/data-link-python"; 60 license = licenses.mit; 61 maintainers = with maintainers; [ fab ]; 62 }; 63}