python3Packages.pykrakenapi: init at 0.2.1
This commit is contained in:
parent
9be67d830e
commit
67794d04f7
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/pykrakenapi/default.nix
Normal file
36
pkgs/development/python-modules/pykrakenapi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue