Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
820 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ 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 ]; };}