diff --git a/pkgs/development/python-modules/krakenex/default.nix b/pkgs/development/python-modules/krakenex/default.nix new file mode 100644 index 000000000000..bf907eb847de --- /dev/null +++ b/pkgs/development/python-modules/krakenex/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, requests +}: + +buildPythonPackage rec { + pname = "krakenex"; + version = "2.1.0"; + + src = fetchFromGitHub { + owner = "veox"; + repo = "python3-krakenex"; + rev = "v${version}"; + sha256 = "0j8qmpk6lm57h80i5njhgvm1qnxllm18dlqxfd4kyxdb93si4z2p"; + }; + + propagatedBuildInputs = [ + requests + ]; + + # no tests implemented + doCheck = false; + + pythonImportsCheck = [ "krakenex" ]; + + meta = with lib; { + description = "Kraken.com cryptocurrency exchange API"; + homepage = "https://github.com/veox/python3-krakenex"; + license = licenses.lgpl3Plus; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8a12c1556ab1..33801cbfe0ac 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3882,6 +3882,8 @@ in { korean-lunar-calendar = callPackage ../development/python-modules/korean-lunar-calendar { }; + krakenex = callPackage ../development/python-modules/krakenex { }; + kubernetes = callPackage ../development/python-modules/kubernetes { }; labelbox = callPackage ../development/python-modules/labelbox { };