Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 670 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "krakenex"; 9 version = "2.1.0"; 10 11 src = fetchFromGitHub { 12 owner = "veox"; 13 repo = "python3-krakenex"; 14 rev = "v${version}"; 15 sha256 = "0j8qmpk6lm57h80i5njhgvm1qnxllm18dlqxfd4kyxdb93si4z2p"; 16 }; 17 18 propagatedBuildInputs = [ 19 requests 20 ]; 21 22 # no tests implemented 23 doCheck = false; 24 25 pythonImportsCheck = [ "krakenex" ]; 26 27 meta = with lib; { 28 description = "Kraken.com cryptocurrency exchange API"; 29 homepage = "https://github.com/veox/python3-krakenex"; 30 license = licenses.lgpl3Plus; 31 maintainers = with maintainers; [ dotlambda ]; 32 }; 33}