1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

python3Packages.pykrakenapi: init at 0.2.1

This commit is contained in:
Robert Schütz 2021-06-25 20:53:37 +02:00
parent 9be67d830e
commit 67794d04f7
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, krakenex
, pandas
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pykrakenapi";
version = "0.2.1";
src = fetchFromGitHub {
owner = "dominiktraxl";
repo = "pykrakenapi";
rev = "v${version}";
sha256 = "0byqa4qk6a8ww1y822izpcfscv4frcfjysw6lx1pqyqjr23bfnbh";
};
propagatedBuildInputs = [
krakenex
pandas
];
# tests require network connection
doCheck = false;
pythonImportsCheck = [ "pykrakenapi" ];
meta = with lib; {
description = "Python implementation of the Kraken API";
homepage = "https://github.com/dominiktraxl/pykrakenapi";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -5311,6 +5311,8 @@ in {
pyisy = callPackage ../development/python-modules/pyisy { };
pykrakenapi = callPackage ../development/python-modules/pykrakenapi { };
pynndescent = callPackage ../development/python-modules/pynndescent { };
pynobo = callPackage ../development/python-modules/pynobo { };