Loading pkgs/development/python-modules/astroquery/default.nix +8 −20 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, fetchpatch2, astropy, boto3, requests, Loading @@ -15,33 +14,26 @@ pytest-astropy, pytest-dependency, pytest-rerunfailures, pytest-timeout, pytestCheckHook, pyvo, astropy-helpers, setuptools, writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "astroquery"; version = "0.4.10"; version = "0.4.11"; pyproject = true; src = fetchFromGitHub { owner = "astropy"; repo = "astroquery"; tag = "v${version}"; hash = "sha256-5pNKV+XNfUQca7WoWboVphXffzyVIHCmfxwr4nBMaEk="; hash = "sha256-BcdRBPnJfuW17p31xUhjBmP7Lv98CnmOTCO4aU0xpMM="; }; patches = [ # https://github.com/astropy/astroquery/pull/3311 (fetchpatch2 { name = "setuptools-package-index.patch"; url = "https://github.com/astropy/astroquery/commit/9d43beb4b7bea424d73fff0b602ca90026155519.patch"; hash = "sha256-3QdOwP1rlWeScGxHT9ZVPmffE7S1XE0cbtnQ8T4bIYw="; }) ]; build-system = [ astropy-helpers setuptools Loading Loading @@ -71,23 +63,19 @@ buildPythonPackage rec { pytest-astropy pytest-dependency pytest-rerunfailures pytest-timeout writableTmpDirAsHomeHook ]; pytestFlags = [ # DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 "-Wignore::DeprecationWarning" ]; # Tests must be run in the build directory. The tests create files # in $HOME/.astropy so we need to set HOME to $TMPDIR. # Tests must be run in the build directory. preCheck = '' export HOME=$TMPDIR cd build/lib ''; pythonImportsCheck = [ "astroquery" ]; meta = { changelog = "https://github.com/astropy/astroquery/releases/tag/${src.tag}"; description = "Functions and classes to access online data resources"; homepage = "https://astroquery.readthedocs.io/"; license = lib.licenses.bsd3; Loading Loading
pkgs/development/python-modules/astroquery/default.nix +8 −20 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, fetchpatch2, astropy, boto3, requests, Loading @@ -15,33 +14,26 @@ pytest-astropy, pytest-dependency, pytest-rerunfailures, pytest-timeout, pytestCheckHook, pyvo, astropy-helpers, setuptools, writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "astroquery"; version = "0.4.10"; version = "0.4.11"; pyproject = true; src = fetchFromGitHub { owner = "astropy"; repo = "astroquery"; tag = "v${version}"; hash = "sha256-5pNKV+XNfUQca7WoWboVphXffzyVIHCmfxwr4nBMaEk="; hash = "sha256-BcdRBPnJfuW17p31xUhjBmP7Lv98CnmOTCO4aU0xpMM="; }; patches = [ # https://github.com/astropy/astroquery/pull/3311 (fetchpatch2 { name = "setuptools-package-index.patch"; url = "https://github.com/astropy/astroquery/commit/9d43beb4b7bea424d73fff0b602ca90026155519.patch"; hash = "sha256-3QdOwP1rlWeScGxHT9ZVPmffE7S1XE0cbtnQ8T4bIYw="; }) ]; build-system = [ astropy-helpers setuptools Loading Loading @@ -71,23 +63,19 @@ buildPythonPackage rec { pytest-astropy pytest-dependency pytest-rerunfailures pytest-timeout writableTmpDirAsHomeHook ]; pytestFlags = [ # DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 "-Wignore::DeprecationWarning" ]; # Tests must be run in the build directory. The tests create files # in $HOME/.astropy so we need to set HOME to $TMPDIR. # Tests must be run in the build directory. preCheck = '' export HOME=$TMPDIR cd build/lib ''; pythonImportsCheck = [ "astroquery" ]; meta = { changelog = "https://github.com/astropy/astroquery/releases/tag/${src.tag}"; description = "Functions and classes to access online data resources"; homepage = "https://astroquery.readthedocs.io/"; license = lib.licenses.bsd3; Loading