summary refs log tree commit diff
path: root/pkgs/development/python-modules/coinmarketcap/default.nix
blob: 52afdee46ab7f49776f738abd5bcc29cec05deae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, stdenv, buildPythonPackage, fetchPypi, requests-cache }:

buildPythonPackage rec {
  pname = "coinmarketcap";
  version = "4.2.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0bk530cmfqri84m9386ydn3f89gq23nxylvnl523gr5589vw54bj";
  };

  propagatedBuildInputs = [ requests-cache ];

  meta = with lib; {
    description = "A python wrapper around the https://coinmarketcap.com API.";
    homepage = https://github.com/barnumbirr/coinmarketcap;
    license = licenses.asl20;
  };
}