Files
nixpkgs/pkgs/development/python-modules/pandas-datareader/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

45 lines
925 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
pythonAtLeast,
fetchPypi,
setuptools,
pandas,
lxml,
requests,
}:
buildPythonPackage rec {
pname = "pandas-datareader";
version = "0.10.0";
pyproject = true;
disabled = pythonOlder "3.6" || pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
sha256 = "9fc3c63d39bc0c10c2683f1c6d503ff625020383e38f6cbe14134826b454d5a6";
};
build-system = [ setuptools ];
dependencies = [
pandas
lxml
requests
];
# Tests are trying to load data over the network
doCheck = false;
pythonImportsCheck = [ "pandas_datareader" ];
meta = {
description = "Up to date remote data access for pandas, works for multiple versions of pandas";
homepage = "https://github.com/pydata/pandas-datareader";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ evax ];
platforms = lib.platforms.unix;
};
}