nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 35 lines 712 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, krakenex 5, pandas 6}: 7 8buildPythonPackage rec { 9 pname = "pykrakenapi"; 10 version = "0.3.0"; 11 12 src = fetchFromGitHub { 13 owner = "dominiktraxl"; 14 repo = "pykrakenapi"; 15 rev = "v${version}"; 16 hash = "sha256-ZhP4TEWFEGIqI/nk2It1IVFKrX4HKP+dWxu+gLJNIeg="; 17 }; 18 19 propagatedBuildInputs = [ 20 krakenex 21 pandas 22 ]; 23 24 # tests require network connection 25 doCheck = false; 26 27 pythonImportsCheck = [ "pykrakenapi" ]; 28 29 meta = with lib; { 30 description = "Python implementation of the Kraken API"; 31 homepage = "https://github.com/dominiktraxl/pykrakenapi"; 32 license = licenses.lgpl3Plus; 33 maintainers = with maintainers; [ dotlambda ]; 34 }; 35}