1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 krakenex,
6 pandas,
7}:
8
9buildPythonPackage rec {
10 pname = "pykrakenapi";
11 version = "0.3.2";
12
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "dominiktraxl";
17 repo = "pykrakenapi";
18 rev = "v${version}";
19 hash = "sha256-sMtNdXM+47iCnDgo33DCD1nx/I+jVX/oG/9aN80LfRg=";
20 };
21
22 propagatedBuildInputs = [
23 krakenex
24 pandas
25 ];
26
27 # tests require network connection
28 doCheck = false;
29
30 pythonImportsCheck = [ "pykrakenapi" ];
31
32 meta = with lib; {
33 description = "Python implementation of the Kraken API";
34 homepage = "https://github.com/dominiktraxl/pykrakenapi";
35 license = licenses.lgpl3Plus;
36 maintainers = with maintainers; [ dotlambda ];
37 };
38}