at 23.11-beta 1.2 kB view raw
1{ lib 2, buildPythonPackage 3, factory-boy 4, faker 5, fetchPypi 6, httpretty 7, importlib-metadata 8, inflection 9, jsondate 10, mock 11, more-itertools 12, numpy 13, pandas 14, parameterized 15, pytestCheckHook 16, python-dateutil 17, pythonOlder 18, requests 19, six 20}: 21 22buildPythonPackage rec { 23 pname = "quandl"; 24 version = "3.7.0"; 25 format = "setuptools"; 26 27 disabled = pythonOlder "3.6"; 28 29 src = fetchPypi { 30 inherit version; 31 pname = "Quandl"; 32 hash = "sha256-bguC+8eGFhCzV3xTlyd8QiDgZe7g/tTkbNa2AhZVtkw="; 33 }; 34 35 patches = [ 36 ./pandas2-datetime-removal.patch 37 ]; 38 39 propagatedBuildInputs = [ 40 pandas 41 numpy 42 requests 43 inflection 44 python-dateutil 45 six 46 more-itertools 47 ] ++ lib.optionals (pythonOlder "3.8") [ 48 importlib-metadata 49 ]; 50 51 nativeCheckInputs = [ 52 factory-boy 53 faker 54 httpretty 55 jsondate 56 mock 57 parameterized 58 pytestCheckHook 59 ]; 60 61 pythonImportsCheck = [ 62 "quandl" 63 ]; 64 65 meta = with lib; { 66 description = "Quandl Python client library"; 67 homepage = "https://github.com/quandl/quandl-python"; 68 changelog = "https://github.com/quandl/quandl-python/blob/master/CHANGELOG.md"; 69 license = licenses.mit; 70 maintainers = with maintainers; [ ilya-kolpakov ]; 71 }; 72}