1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "krakenex"; 11 version = "2.2.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "veox"; 16 repo = "python3-krakenex"; 17 rev = "v${version}"; 18 hash = "sha256-htldEds3vf9bjFkJAew0e0fHDLD15OTcVYybSmIp3DI="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ requests ]; 24 25 # no tests implemented 26 doCheck = false; 27 28 pythonImportsCheck = [ "krakenex" ]; 29 30 meta = with lib; { 31 changelog = "https://github.com/veox/python3-krakenex/blob/${src.rev}/CHANGELOG.rst"; 32 description = "Kraken.com cryptocurrency exchange API"; 33 homepage = "https://github.com/veox/python3-krakenex"; 34 license = licenses.lgpl3Plus; 35 maintainers = with maintainers; [ dotlambda ]; 36 }; 37}