mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
f1040f412c
Diff: https://github.com/veox/python3-krakenex/compare/v2.2.1...v2.2.2 Changelog: https://github.com/veox/python3-krakenex/blob/v2.2.2/CHANGELOG.rst
38 lines
816 B
Nix
38 lines
816 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "krakenex";
|
|
version = "2.2.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "veox";
|
|
repo = "python3-krakenex";
|
|
rev = "v${version}";
|
|
hash = "sha256-htldEds3vf9bjFkJAew0e0fHDLD15OTcVYybSmIp3DI=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ 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 ];
|
|
};
|
|
}
|