diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pandas-datareader/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pandas-datareader/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pandas-datareader/default.nix b/nixpkgs/pkgs/development/python-modules/pandas-datareader/default.nix new file mode 100644 index 000000000000..d792c439b581 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pandas-datareader/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchPypi +, isPy27 +, pandas +, lxml +, requests +}: + +buildPythonPackage rec { + pname = "pandas-datareader"; + version = "0.10.0"; + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "9fc3c63d39bc0c10c2683f1c6d503ff625020383e38f6cbe14134826b454d5a6"; + }; + + # Tests are trying to load data over the network + doCheck = false; + pythonImportsCheck = [ "pandas_datareader" ]; + + propagatedBuildInputs = [ pandas lxml requests ]; + + meta = with lib; { + 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; + }; +} |