diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 95b29ec2ea..335c075a68 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1657,6 +1657,10 @@ (define-public python-cdflib (arguments (list #:phases #~(modify-phases %standard-phases + (add-before 'build 'set-env-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" + #$version))) (add-before 'check 'set-home-env (lambda _ (setenv "HOME" (getcwd))))))) @@ -1668,6 +1672,7 @@ (define-public python-cdflib python-pytest python-pytest-cov python-pytest-remotedata + python-setuptools-scm python-xarray)) (home-page "https://github.com/MAVENSDC/cdflib") (synopsis "Python library to deal with NASA's CDF astronmical data format")