about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/astroquery/default.nix
blob: b2771505a6637d063bbd1880b4684a47100523a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ pkgs
, buildPythonPackage
, fetchPypi
, astropy
, requests
, keyring
, beautifulsoup4
, html5lib
}:

buildPythonPackage rec {
  pname = "astroquery";
  version = "0.3.9";

  doCheck = false; # Tests require the pytest-astropy package

  src = fetchPypi {
    inherit pname version;
    sha256 = "0zw3xp2rfc6h2v569iqsyvzhfnzp7bfjb7jrj61is1hrqw1cqjrb";
  };

  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 ];
  };
}