Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
820 B
Nix
48 lines
820 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|