diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 31960d96ef..53097d4230 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -222,63 +222,63 @@ reused in several astronomical applications, such as @code{wsclean}, (license license:gpl3+)))) (define-public aoflagger - (package - (name "aoflagger") - (version "3.5.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.com/aroffringa/aoflagger") - (commit (string-append "v" version)))) - (sha256 - (base32 "08r36xjw6hf3zc7w6qyk8bm049bzyl264ah0g03shzsci91lp8q9")) - (file-name (git-file-name name version)))) - (build-system cmake-build-system) - (arguments - (list - ;; Tests require external files download from - ;; https://www.astron.nl/citt/ci_data/aoflagger/ - #:tests? #f - #:configure-flags - #~(list (string-append "-DCASACORE_ROOT_DIR=" - #$(this-package-input "casacore"))) - #:phases - #~(modify-phases %standard-phases - ;; aocommon and pybind11 are expected to be found as git submodules, - ;; link them before build. - (add-after 'unpack 'link-submodule-package - (lambda _ - (rmdir "external/aocommon") - (symlink #$(this-package-native-input "aocommon") - (string-append (getcwd) "/external/aocommon"))))))) - (native-inputs - (list aocommon - boost - pkg-config - python - pybind11)) - (inputs - (list casacore - cfitsio - fftw - gsl - gtkmm - hdf5 - libpng - libsigc++ - libxml2 - lua - openblas - zlib)) - (home-page "https://gitlab.com/aroffringa/aoflagger") - (synopsis "Astronomical tool that can find and remove radio-frequency interference") - (description - "AOFlagger is a tool that can find and remove radio-frequency + (package + (name "aoflagger") + (version "3.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/aroffringa/aoflagger") + (commit (string-append "v" version)))) + (sha256 + (base32 "08r36xjw6hf3zc7w6qyk8bm049bzyl264ah0g03shzsci91lp8q9")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + (list + ;; Tests require external files download from + ;; https://www.astron.nl/citt/ci_data/aoflagger/ + #:tests? #f + #:configure-flags + #~(list (string-append "-DCASACORE_ROOT_DIR=" + #$(this-package-input "casacore"))) + #:phases + #~(modify-phases %standard-phases + ;; aocommon and pybind11 are expected to be found as git submodules, + ;; link them before build. + (add-after 'unpack 'link-submodule-package + (lambda _ + (rmdir "external/aocommon") + (symlink #$(this-package-native-input "aocommon") + (string-append (getcwd) "/external/aocommon"))))))) + (native-inputs + (list aocommon + boost + pkg-config + python + pybind11)) + (inputs + (list casacore + cfitsio + fftw + gsl + gtkmm + hdf5 + libpng + libsigc++ + libxml2 + lua + openblas + zlib)) + (home-page "https://gitlab.com/aroffringa/aoflagger") + (synopsis "Astronomical tool that can find and remove radio-frequency interference") + (description + "AOFlagger is a tool that can find and remove radio-frequency interference (RFI) in radio astronomical observations. It can make use of Lua -scripts to make flagging strategies flexible, and the tools are applicable to a -wide set of telescopes.") - (license license:gpl3+))) +scripts to make flagging strategies flexible, and the tools are applicable to +a wide set of telescopes.") + (license license:gpl3+))) (define-public astroterm (package