diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 19:40:49 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 19:49:26 +0300 |
commit | 70690fd6c4b77f7dfa40bb54fd83f861891172d9 (patch) | |
tree | bc86c5871e435e14076189fc5068642148f85db0 /gnu | |
parent | c48fb29d6b103dbb0e4f907acfbc17c6991aa80d (diff) | |
download | guix-70690fd6c4b77f7dfa40bb54fd83f861891172d9.tar.gz |
gnu: wcslib: Remove pregenerated files.
* gnu/packages/astronomy.scm (wcslib)[source]: Add snippet to remove pregenerated files. [native-inputs]: Add flex.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/astronomy.scm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 31903a7837..8f19a62521 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 John Darrington <jmd@gnu.org> ;;; Copyright © 2018–2023 Tobias Geerinckx-Rice <me@tobias.gr> -;;; Copyright © 2018, 2019, 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2018-2023 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2019 by Amar Singh <nly@disroot.org> ;;; Copyright © 2020 R Veera Kumar <vkor@vkten.in> ;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net> @@ -711,9 +711,10 @@ corrections.") (uri (string-append "https://www.atnf.csiro.au/people/mcalabre/WCS/" "wcslib-" version ".tar.bz2")) (sha256 - (base32 "17hjnkwn2rd5d9krw2n637q4y8ma4nzk2i55zzn8l2yimdpkxwib")))) - (inputs - (list cfitsio)) + (base32 "17hjnkwn2rd5d9krw2n637q4y8ma4nzk2i55zzn8l2yimdpkxwib")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "C/flexed"))))) (build-system gnu-build-system) (arguments (list @@ -731,6 +732,10 @@ corrections.") (("/bin/sh") "sh"))))))) ;; TODO: Fix build with gfortran and pack missing optional pgplot. ;; (inputs (list gfortran pgplot)) + (inputs + (list cfitsio)) + (native-inputs + (list flex)) (home-page "https://www.atnf.csiro.au/people/mcalabre/WCS") (synopsis "Library which implements the FITS WCS standard") (description "The FITS \"World Coordinate System\" (@dfn{WCS}) standard |