Robert Schütz 2024-03-03 16:59:25 -08:00
parent 8727dcf55f
commit 82f635ba29

View file

@ -1,21 +1,26 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, requests
}:
buildPythonPackage rec {
pname = "krakenex";
version = "2.1.0";
format = "setuptools";
version = "2.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "veox";
repo = "python3-krakenex";
rev = "v${version}";
sha256 = "0j8qmpk6lm57h80i5njhgvm1qnxllm18dlqxfd4kyxdb93si4z2p";
hash = "sha256-aWALkM79VOm2/EQdp2rD1sm0NxhLKZOXzAs8m+t7M0s=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
requests
];
@ -26,6 +31,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "krakenex" ];
meta = with lib; {
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 = licenses.lgpl3Plus;