2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-11-02 09:22:44 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, pandas
|
|
|
|
, lxml
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pandas-datareader";
|
|
|
|
version = "0.9.0";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "b2cbc1e16a6ab9ff1ed167ae2ea92839beab9a20823bd00bdfb78155fa04f891";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Tests are trying to load data over the network
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pandas_datareader" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pandas lxml requests ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-02 09:22:44 +00:00
|
|
|
description = "Up to date remote data access for pandas, works for multiple versions of pandas";
|
|
|
|
homepage = "https://github.com/pydata/pandas-datareader";
|
|
|
|
license= licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ evax ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|