blob: 1bfe5dd51e7c7022fefb68cb84ead2a52c264657 (
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
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
urllib3,
certifi,
python-dateutil,
six,
}:
buildPythonPackage rec {
pname = "kalshi-python";
version = "2.0.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "kalshi_python";
hash = "sha256-ybO7O+rxS3rSo6GN/FZC/BhSnlfH5/+TpJkSxhRBYYw=";
};
dependencies = [
urllib3
certifi
python-dateutil
six
];
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"kalshi_python"
];
meta = {
description = "Official python SDK for algorithmic trading on Kalshi";
homepage = "https://github.com/Kalshi/kalshi-python";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ robbiebuxton ];
};
}
|