diff options
| -rw-r--r-- | gnu/packages/astronomy.scm | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 84964c3ce6b..5b5047ef574 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm | |||
| @@ -8814,6 +8814,61 @@ results of the astronomical library functions. Only the bare minimum of IDL | |||
| 8814 | built-in functions are implemented to support this.") | 8814 | built-in functions are implemented to support this.") |
| 8815 | (license license:bsd-3))) | 8815 | (license license:bsd-3))) |
| 8816 | 8816 | ||
| 8817 | (define-public python-pydrad | ||
| 8818 | (package | ||
| 8819 | (name "python-pydrad") | ||
| 8820 | ;; Not released yet, recommended installation method via git clone. | ||
| 8821 | (properties '((commit . "bf0d711206f877961e6c8a6f07ac99caafe7e863") | ||
| 8822 | (revision . "0"))) | ||
| 8823 | (version (git-version "0.1.0" | ||
| 8824 | (assoc-ref properties 'revision) | ||
| 8825 | (assoc-ref properties 'commit))) | ||
| 8826 | (source | ||
| 8827 | (origin | ||
| 8828 | (method git-fetch) | ||
| 8829 | (uri (git-reference | ||
| 8830 | (url "https://github.com/rice-solar-physics/pydrad") | ||
| 8831 | (commit (assoc-ref properties 'commit)))) | ||
| 8832 | (file-name (git-file-name name version)) | ||
| 8833 | (sha256 | ||
| 8834 | (base32 "0djc74c66rrh6364gqr7rkprwnyrriyf6z07hzd3qq7d4ywlin61")))) | ||
| 8835 | (build-system pyproject-build-system) | ||
| 8836 | (arguments | ||
| 8837 | (list | ||
| 8838 | #:tests? #f ;tests require network access | ||
| 8839 | #:phases | ||
| 8840 | #~(modify-phases %standard-phases | ||
| 8841 | (add-after 'unpack 'patch-manifest.in | ||
| 8842 | ;; See: <https://codeberg.org/guix/guix/issues/4393>. | ||
| 8843 | (lambda* (#:key name source inputs #:allow-other-keys) | ||
| 8844 | (let ((port (open-file "MANIFEST.in" "w"))) | ||
| 8845 | (for-each | ||
| 8846 | (lambda (file) | ||
| 8847 | (display "include " port) | ||
| 8848 | (display file port) | ||
| 8849 | (display "\n" port)) | ||
| 8850 | (find-files ".")) | ||
| 8851 | (close port))))))) | ||
| 8852 | (native-inputs | ||
| 8853 | (list python-setuptools | ||
| 8854 | python-setuptools-scm)) | ||
| 8855 | (propagated-inputs | ||
| 8856 | (list python-asdf-astropy | ||
| 8857 | python-astropy | ||
| 8858 | python-gitpython | ||
| 8859 | python-h5py | ||
| 8860 | python-jinja2 | ||
| 8861 | python-matplotlib | ||
| 8862 | python-plasmapy | ||
| 8863 | python-scipy)) | ||
| 8864 | (home-page "https://pydrad.readthedocs.io/") | ||
| 8865 | (synopsis "Python tools for setting up HYDRAD runs and parsing output") | ||
| 8866 | (description | ||
| 8867 | "This package provides some Python tools to configure and parse output | ||
| 8868 | from the HYDrodynamics and RADiation (HYDRAD) code for field-aligned coronal | ||
| 8869 | loop physics.") | ||
| 8870 | (license license:expat))) | ||
| 8871 | |||
| 8817 | (define-public python-pyerfa | 8872 | (define-public python-pyerfa |
| 8818 | (package | 8873 | (package |
| 8819 | (name "python-pyerfa") | 8874 | (name "python-pyerfa") |
