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

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "1cfee31bf330a17cedf188e4e99588e6a4c6c969c93da71f55a9f4ec6a6c216f";
  };

  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;
  };
}