depot/third_party/nixpkgs/pkgs/development/python-modules/pykrakenapi/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

35 lines
715 B
Nix

{ 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 ];
};
}