depot/third_party/nixpkgs/pkgs/development/python-modules/krakenex/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

33 lines
670 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "krakenex";
version = "2.1.0";
src = fetchFromGitHub {
owner = "veox";
repo = "python3-krakenex";
rev = "v${version}";
sha256 = "0j8qmpk6lm57h80i5njhgvm1qnxllm18dlqxfd4kyxdb93si4z2p";
};
propagatedBuildInputs = [
requests
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "krakenex" ];
meta = with lib; {
description = "Kraken.com cryptocurrency exchange API";
homepage = "https://github.com/veox/python3-krakenex";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}