1{ lib, buildPythonPackage, fetchPypi, requests-cache }: 2 3buildPythonPackage rec { 4 pname = "coinmarketcap"; 5 version = "5.0.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1cfee31bf330a17cedf188e4e99588e6a4c6c969c93da71f55a9f4ec6a6c216f"; 10 }; 11 12 propagatedBuildInputs = [ requests-cache ]; 13 14 meta = with lib; { 15 description = "A python wrapper around the https://coinmarketcap.com API."; 16 homepage = https://github.com/barnumbirr/coinmarketcap; 17 license = licenses.asl20; 18 }; 19}