Unverified Commit c986e708 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

pythonPackages.python-coinmarketcap: init at 0.6 (#398465)

parents edb7184c 564c1c2b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6479,6 +6479,12 @@
    githubId = 131907205;
    name = "David Thievon";
  };
  dolphindalt = {
    email = "dolphindalt@gmail.com";
    github = "dolphindalt";
    githubId = 13937320;
    name = "Dalton Caron";
  };
  domenkozar = {
    email = "domen@dev.si";
    github = "domenkozar";
+40 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  requests,
  setuptools,
}:

buildPythonPackage rec {
  pname = "python-coinmarketcap";
  version = "0.6";
  pyproject = true;

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

  build-system = [ setuptools ];

  dependencies = [
    requests
  ];

  pythonImportsCheck = [
    "coinmarketcapapi"
  ];

  doCheck = false; # Tests use the CoinMarketCap API

  meta = {
    description = "Python package to wrap the CoinMarketCap API";
    homepage = "https://github.com/rsz44/python-coinmarketcap";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dolphindalt ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13975,6 +13975,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 { };