2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-11-06 00:33:48 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, pandas
|
|
|
|
, lxml
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pandas-datareader";
|
2021-08-25 08:27:29 +00:00
|
|
|
version = "0.10.0";
|
2020-11-06 00:33:48 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-25 08:27:29 +00:00
|
|
|
sha256 = "9fc3c63d39bc0c10c2683f1c6d503ff625020383e38f6cbe14134826b454d5a6";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests are trying to load data over the network
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pandas_datareader" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pandas lxml requests ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-06 00:33:48 +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;
|
|
|
|
};
|
|
|
|
}
|