2018-07-21 01:44:44 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests-cache }:
|
2018-05-07 11:35:16 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "coinmarketcap";
|
2018-06-12 17:46:59 +01:00
|
|
|
version = "5.0.3";
|
2018-05-07 11:35:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 17:46:59 +01:00
|
|
|
sha256 = "1cfee31bf330a17cedf188e4e99588e6a4c6c969c93da71f55a9f4ec6a6c216f";
|
2018-05-07 11:35:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|