82f635ba29
Diff: https://github.com/veox/python3-krakenex/compare/v2.1.0...v2.2.1 Changelog: https://github.com/veox/python3-krakenex/blob/v2.2.1/CHANGELOG.rst
40 lines
835 B
Nix
40 lines
835 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, setuptools
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "krakenex";
|
|
version = "2.2.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "veox";
|
|
repo = "python3-krakenex";
|
|
rev = "v${version}";
|
|
hash = "sha256-aWALkM79VOm2/EQdp2rD1sm0NxhLKZOXzAs8m+t7M0s=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
];
|
|
|
|
# no tests implemented
|
|
doCheck = false;
|
|
|
|
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;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|