Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, pandas 6, lxml 7, requests 8}: 9 10buildPythonPackage rec { 11 pname = "pandas-datareader"; 12 version = "0.10.0"; 13 disabled = isPy27; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "9fc3c63d39bc0c10c2683f1c6d503ff625020383e38f6cbe14134826b454d5a6"; 18 }; 19 20 # Tests are trying to load data over the network 21 doCheck = false; 22 pythonImportsCheck = [ "pandas_datareader" ]; 23 24 propagatedBuildInputs = [ pandas lxml requests ]; 25 26 meta = with lib; { 27 description = "Up to date remote data access for pandas, works for multiple versions of pandas"; 28 homepage = "https://github.com/pydata/pandas-datareader"; 29 license= licenses.bsd3; 30 maintainers = with maintainers; [ evax ]; 31 platforms = platforms.unix; 32 }; 33}