Commit 1d0f040a authored by Dalton Caron's avatar Dalton Caron
Browse files

python-coinmarketcap: init at 0.6

nix fmt
parent 3a54e411
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  requests,
}:

buildPythonPackage rec {
  pname = "python-coinmarketcap";
  version = "0.6";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "rsz44";
    repo = "python-coinmarketcap";
    rev = "de069d55d7cc5eea9cd194b47d4609c4846d59d1";
    hash = "sha256-FQIfDV7O3z5S2HGKi2k8NPsvkAS66rsueggoSAGvbVU=";
  };

  dependencies = [
    requests
  ];

  pythonImportsCheck = [
    "coinmarketcapapi"
  ];

  meta = with lib; {
    description = "Python package to wrap the CoinMarketCap API";
    homepage = "https://github.com/rsz44/python-coinmarketcap";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ dolphindalt ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13817,6 +13817,8 @@ self: super: with self; {
  python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
  python-coinmarketcap = callPackage ../development/python-modules/python-coinmarketcap { };
  python-constraint = callPackage ../development/python-modules/python-constraint { };
  python-creole = callPackage ../development/python-modules/python-creole { };