about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/astroquery/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/astroquery/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/astroquery/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/astroquery/default.nix b/nixpkgs/pkgs/development/python-modules/astroquery/default.nix
new file mode 100644
index 000000000000..b2771505a663
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/astroquery/default.nix
@@ -0,0 +1,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 ];
+  };
+}