1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5, krakenex 6, pandas 7}: 8 9buildPythonPackage rec { 10 pname = "pykrakenapi"; 11 version = "0.3.1"; 12 13 disabled = pythonOlder "3.3"; 14 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "dominiktraxl"; 19 repo = "pykrakenapi"; 20 rev = "v${version}"; 21 hash = "sha256-gG0kbB3yaFU4DcBKupnBS7UFuU1hIMThdUHCuqufKzc="; 22 }; 23 24 propagatedBuildInputs = [ 25 krakenex 26 pandas 27 ]; 28 29 # tests require network connection 30 doCheck = false; 31 32 pythonImportsCheck = [ "pykrakenapi" ]; 33 34 meta = with lib; { 35 description = "Python implementation of the Kraken API"; 36 homepage = "https://github.com/dominiktraxl/pykrakenapi"; 37 license = licenses.lgpl3Plus; 38 maintainers = with maintainers; [ dotlambda ]; 39 }; 40}