python313Packages.coinmetrics-api-client: 2024.12.23.19 -> 2025.2.26.16 (#385362)

authored by Fabian Affolter and committed by GitHub 97f47a17 0c10c062

+12 -12
+12 -12
pkgs/development/python-modules/coinmetrics-api-client/default.nix
··· 5 5 orjson, 6 6 pandas, 7 7 poetry-core, 8 + polars, 8 9 pytest-mock, 9 10 pytestCheckHook, 10 11 python-dateutil, ··· 17 18 18 19 buildPythonPackage rec { 19 20 pname = "coinmetrics-api-client"; 20 - version = "2024.12.23.19"; 21 + version = "2025.2.26.16"; 21 22 pyproject = true; 22 23 23 24 disabled = pythonOlder "3.9"; ··· 27 28 src = fetchPypi { 28 29 inherit version; 29 30 pname = "coinmetrics_api_client"; 30 - hash = "sha256-AX+UFQ+Usq9MzbnlZjZQXw9cP6fhO78iFsh0KsbZfw4="; 31 + hash = "sha256-qkiSGXv7VmGS2rHpBGsGTzmb8rP0IOOR/vBAV0nni/c="; 31 32 }; 32 33 33 34 pythonRelaxDeps = [ "typer" ]; 34 35 35 - nativeBuildInputs = [ 36 - poetry-core 37 - ]; 36 + build-system = [ poetry-core ]; 38 37 39 - propagatedBuildInputs = [ 38 + dependencies = [ 40 39 orjson 41 40 python-dateutil 42 41 requests ··· 45 44 websocket-client 46 45 ]; 47 46 47 + optional-dependencies = { 48 + pandas = [ pandas ]; 49 + polars = [ polars ]; 50 + }; 51 + 48 52 nativeCheckInputs = [ 49 53 pytestCheckHook 50 54 pytest-mock 51 - ] ++ optional-dependencies.pandas; 55 + ] ++ lib.flatten (builtins.attrValues optional-dependencies); 52 56 53 57 pythonImportsCheck = [ "coinmetrics.api_client" ]; 54 58 55 - optional-dependencies = { 56 - pandas = [ pandas ]; 57 - }; 58 - 59 59 meta = with lib; { 60 60 description = "Coin Metrics API v4 client library"; 61 - mainProgram = "coinmetrics"; 62 61 homepage = "https://coinmetrics.github.io/api-client-python/site/index.html"; 63 62 license = licenses.mit; 64 63 maintainers = with maintainers; [ centromere ]; 64 + mainProgram = "coinmetrics"; 65 65 }; 66 66 }