blob: 5419d31ca70d181b829a9864167dd8a5a6751fb2 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
}:
buildPythonPackage rec {
pname = "krakenex";
version = "2.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "veox";
repo = "python3-krakenex";
rev = "v${version}";
hash = "sha256-htldEds3vf9bjFkJAew0e0fHDLD15OTcVYybSmIp3DI=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "krakenex" ];
meta = {
changelog = "https://github.com/veox/python3-krakenex/blob/${src.rev}/CHANGELOG.rst";
description = "Kraken.com cryptocurrency exchange API";
homepage = "https://github.com/veox/python3-krakenex";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|