23 buildPythonPackage rec {
29 inherit pname version;
30 hash = "sha256-BH+6ywpPrsTNtiZ16RnCRMHDXmYQRPy7bJqTMzF0fsk=";
35 propagatedBuildInputs = [
49 # Disable automatic update of the astropy-helper module
51 substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
54 nativeCheckInputs = [ pytestCheckHook ];
66 # DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
68 "ignore::DeprecationWarning"
71 # Tests must be run in the build directory. The tests create files
72 # in $HOME/.astropy so we need to set HOME to $TMPDIR.
78 pythonImportsCheck = [ "astroquery" ];
80 meta = with pkgs.lib; {
81 description = "Functions and classes to access online data resources";
82 homepage = "https://astroquery.readthedocs.io/";
83 license = licenses.bsd3;
84 maintainers = [ maintainers.smaret ];