2018-11-16 00:11:41 +01:00
|
|
|
{ pkgs
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, astropy
|
|
|
|
, requests
|
|
|
|
, keyring
|
|
|
|
, beautifulsoup4
|
|
|
|
, html5lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "astroquery";
|
2019-01-03 00:13:35 +01:00
|
|
|
version = "0.3.9";
|
2018-11-16 00:11:41 +01:00
|
|
|
|
|
|
|
doCheck = false; # Tests require the pytest-astropy package
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-03 00:13:35 +01:00
|
|
|
sha256 = "0zw3xp2rfc6h2v569iqsyvzhfnzp7bfjb7jrj61is1hrqw1cqjrb";
|
2018-11-16 00:11:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ astropy requests keyring beautifulsoup4 html5lib ];
|
|
|
|
|
|
|
|
meta = with pkgs.lib; {
|
|
|
|
description = "Functions and classes to access online data resources";
|
|
|
|
homepage = "https://astroquery.readthedocs.io/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.smaret ];
|
|
|
|
};
|
|
|
|
}
|