blob: 0514b9eaeb40224660fa1e0d8a51e8225119c590 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, krakenex
, pandas
}:
buildPythonPackage rec {
pname = "pykrakenapi";
version = "0.3.1";
disabled = pythonOlder "3.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "dominiktraxl";
repo = "pykrakenapi";
rev = "v${version}";
hash = "sha256-gG0kbB3yaFU4DcBKupnBS7UFuU1hIMThdUHCuqufKzc=";
};
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 ];
};
}
|