{ lib , buildPythonPackage , fetchFromGitHub , krakenex , pandas }: buildPythonPackage rec { pname = "pykrakenapi"; version = "0.2.2"; src = fetchFromGitHub { owner = "dominiktraxl"; repo = "pykrakenapi"; rev = "v${version}"; sha256 = "047v0pkkwsd219lwc3hamdaz1nngxr2nbb7hh8n4xkyicm2axha6"; }; propagatedBuildInputs = [ krakenex pandas ]; # tests require network connection doCheck = false; pythonImportsCheck = [ "pykrakenapi" ]; meta = with lib; { description = "Python implementation of the Kraken API"; homepage = "https://github.com/dominiktraxl/pykrakenapi"; license = licenses.lgpl3Plus; maintainers = with maintainers; [ dotlambda ]; }; }