Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ pkgs 2, buildPythonPackage 3, fetchPypi 4, astropy 5, requests 6, keyring 7, beautifulsoup4 8, html5lib 9}: 10 11buildPythonPackage rec { 12 pname = "astroquery"; 13 version = "0.3.9"; 14 15 doCheck = false; # Tests require the pytest-astropy package 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "0zw3xp2rfc6h2v569iqsyvzhfnzp7bfjb7jrj61is1hrqw1cqjrb"; 20 }; 21 22 propagatedBuildInputs = [ astropy requests keyring beautifulsoup4 html5lib ]; 23 24 meta = with pkgs.lib; { 25 description = "Functions and classes to access online data resources"; 26 homepage = "https://astroquery.readthedocs.io/"; 27 license = licenses.bsd3; 28 maintainers = [ maintainers.smaret ]; 29 }; 30}