Skip to content

Commit

Permalink
Merge pull request #207929 from r-ryantm/auto-update/python3.9-coinme…
Browse files Browse the repository at this point in the history
…trics-api-client

python39Packages.coinmetrics-api-client: 2022.9.22.15 -> 2022.11.14.16
  • Loading branch information
fabaff authored Dec 27, 2022
2 parents 60eede4 + 391de01 commit 70604e4
Showing 1 changed file with 30 additions and 11 deletions.
41 changes: 30 additions & 11 deletions pkgs/development/python-modules/coinmetrics-api-client/default.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,50 @@
{ buildPythonPackage, fetchPypi, lib, orjson, pandas, poetry-core
, pytestCheckHook, pytest-mock, pythonOlder, python-dateutil, requests, typer
, websocket-client }:
{ lib
, buildPythonPackage
, fetchPypi
, orjson
, pandas
, poetry-core
, pytestCheckHook
, pytest-mock
, pythonOlder
, python-dateutil
, requests
, typer
, websocket-client
}:

buildPythonPackage rec {
pname = "coinmetrics-api-client";
version = "2022.9.22.15";
version = "2022.11.14.16";
format = "pyproject";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-37tuZDsGQAmbWSEGc7rjrXtCoSxuBN3MDMmjWHr0eS4=";
hash = "sha256-2x8S9Jj/1bBnhXS/x0lQ8YUQkCvfpgGcDSQU2dGbAn0=";
};

nativeBuildInputs = [ poetry-core ];
nativeBuildInputs = [
poetry-core
];

propagatedBuildInputs = [
orjson python-dateutil requests typer websocket-client
orjson
python-dateutil
requests
typer
websocket-client
];

checkInputs = [
pandas
pytestCheckHook
pytest-mock
];
] ++ passthru.optional-dependencies.pandas;

pythonImportsCheck = [ "coinmetrics.api_client" ];
pythonImportsCheck = [
"coinmetrics.api_client"
];

passthru = {
optional-dependencies = {
Expand All @@ -34,8 +53,8 @@ buildPythonPackage rec {
};

meta = with lib; {
description = "Coin Metrics API v4 client library";
homepage = "https://coinmetrics.github.io/api-client-python/site/index.html";
description = "Coin Metrics API v4 client library (Python)";
license = licenses.mit;
maintainers = with maintainers; [ centromere ];
};
Expand Down

0 comments on commit 70604e4

Please sign in to comment.