forked from tribes/guix
Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 861f6c542e | |||
| cbeca8a726 | |||
| d62dc2a321 | |||
| 2ee962f657 | |||
| df39c10677 | |||
| 1b280ff5be | |||
| 2544f815df | |||
| f0b284513a | |||
| 22f962b8a6 | |||
| 7254d98a17 | |||
| 444b781f70 | |||
| 47c0faa4ff | |||
| a5ac8961bb | |||
| 123e79dc83 | |||
| 8fbf5290a3 | |||
| e1d0335f44 | |||
| 54fc97a07f | |||
| 1768771455 | |||
| 5fca756307 | |||
| 74efe751e7 | |||
| 7912fc52b1 |
+479
-38
@@ -284,7 +284,7 @@ a wide set of telescopes.")
|
||||
(define-public astroterm
|
||||
(package
|
||||
(name "astroterm")
|
||||
(version "1.0.10")
|
||||
(version "1.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
@@ -293,7 +293,7 @@ a wide set of telescopes.")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1k946b5qv6jqiap3pi4gv2w46lq0j9q19lfrzkzlypi8h2a9plng"))))
|
||||
(base32 "1p6rxv18gp989fmydbp75mrqxffjlqwp6xkdk18jj322hri0lidv"))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
(list
|
||||
@@ -770,7 +770,7 @@ analysis.")
|
||||
(define-public cpl
|
||||
(package
|
||||
(name "cpl")
|
||||
(version "7.3.2")
|
||||
(version "7.3.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -778,7 +778,7 @@ analysis.")
|
||||
"https://ftp.eso.org/pub/dfs/pipelines/libraries/cpl/cpl-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "083ppsa6ifc52m0s4ww4l9cajnh2f0y3s5bxaq31drihhrd2c355"))))
|
||||
(base32 "090xp9scg34z60iiklf8w7gmbjbja3sdv7xk97pn8llklvks8xgi"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
;; pycpl expects to find a lib/esopipes-plugins directory. This is
|
||||
@@ -1215,7 +1215,7 @@ programs for the manipulation and analysis of astronomical data.")
|
||||
(define-public gpredict
|
||||
(package
|
||||
(name "gpredict")
|
||||
(version "2.4")
|
||||
(version "2.5.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
@@ -1224,7 +1224,7 @@ programs for the manipulation and analysis of astronomical data.")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0dfwb6h7bkhx782pj78xw4c1h1r6kd3md7xjz1jvxapsx0iypclw"))))
|
||||
(base32 "1bcy50g1hkdwdadr5lb2fs3ry261qcp10kf3cc0kif9y8im91zwl"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list
|
||||
@@ -1409,7 +1409,7 @@ floating-point (no compression, LZW- or ZIP-compressed), FITS 8-bit, 16-bit,
|
||||
(define-public indi
|
||||
(package
|
||||
(name "indi")
|
||||
(version "2.1.9")
|
||||
(version "2.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
@@ -1418,7 +1418,7 @@ floating-point (no compression, LZW- or ZIP-compressed), FITS 8-bit, 16-bit,
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0nlvcp4z2wb0yha141x25xgvcl5rsqm7jq47c49rxq0bb3arjyig"))))
|
||||
(base32 "0rknhrv7hhwmgvsi9lgrajl6hipsxk7d7nqazk7i8cczsrxgwdjx"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list
|
||||
@@ -2031,29 +2031,32 @@ model-fitting photometry or morphological analyses.")
|
||||
(define-public python-aiapy
|
||||
(package
|
||||
(name "python-aiapy")
|
||||
(version "0.11.0")
|
||||
(version "0.12.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "aiapy" version))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/LM-SAL/aiapy")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "11hjqk8840y7dwny0r8apqf0a0kb0lyn7kr1syzqhp87zjslna5q"))))
|
||||
(base32 "0b5zvqnjxpdx8830s2f5pziyjqh8isy4y4b7j0xg5rh4vm7zqfhm"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; tests: 47 passed, 76 skipped
|
||||
#:test-flags
|
||||
;; Remove data is required: ValueError: Did not find any files
|
||||
;; at https:/github.com/sunpy/data/blob/main/aiapy/aia_lev1_\
|
||||
;; 193a_2013_03_15t12_01_06_84z_image_lev1.fits?raw=true
|
||||
#~(list (string-append "--deselect=aiapy/calibrate/tests/test_meta.py"
|
||||
"::test_fix_pointing_missing_value"))
|
||||
;; tests: 47 passed, 82 skipped, 133 warnings
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'set-home
|
||||
(add-after 'unpack 'include-package-data
|
||||
(lambda _
|
||||
;; See: <https://github.com/LM-SAL/aiapy/pull/396>.
|
||||
(substitute* "pyproject.toml"
|
||||
(("include-package-data = true.*" all)
|
||||
(string-append all
|
||||
"\n[tool.setuptools.package-data]
|
||||
aiapy = ['*.rst']")))))
|
||||
(add-before 'check 'set-HOME
|
||||
(lambda _
|
||||
;; E PermissionError: [Errno 13] Permission denied:
|
||||
;; '/homeless-shelter'
|
||||
(setenv "HOME" "/tmp"))))))
|
||||
(native-inputs
|
||||
(list nss-certs-for-test
|
||||
@@ -3769,6 +3772,45 @@ processing of CCD images built on a framework to provide error propagation and
|
||||
bad pixel tracking throughout the reduction process.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-cdasws
|
||||
(package
|
||||
(name "python-cdasws")
|
||||
(version "1.8.15")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "cdasws" version))
|
||||
(sha256
|
||||
(base32 "04jfzbdpyrfzdz6x2xxcgnpv5bih58bnw0mvscbzklwhq9wsd0gk"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f)) ;require network, and missing "context" module
|
||||
(native-inputs
|
||||
(list python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-dateutil
|
||||
python-requests
|
||||
python-urllib3))
|
||||
(home-page "https://cdaweb.gsfc.nasa.gov/WebServices/REST/")
|
||||
(synopsis
|
||||
"NASA's Coordinated Data Analysis System Web Service Client Library")
|
||||
(description
|
||||
"This package provides NASA's Coordinated Data Analysis System Web
|
||||
Service Client Library.
|
||||
|
||||
The Coordinated Data Analysis System (CDAS) supports simultaneous
|
||||
multi-mission, multi-instrument selection and comparison of science data among
|
||||
a wide range of current space missions. While CDAWeb provides access to this
|
||||
data through an HTML-based user interface, these Web services provides a (Web)
|
||||
application programmming interface (API) to CDAS. If you are not a software
|
||||
developer and simply want to use the existing web (HTML) interface to CDAS,
|
||||
then return to the main CDAWeb page. If you are developing software that
|
||||
requires science data from any of the CDAWeb datasets, then the CDAS Web
|
||||
services will provide access to the data without having to explicitly
|
||||
find,download, and read the data files.")
|
||||
;; NASA open source agreement version 1.3, BSD like.
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-cdflib
|
||||
(package
|
||||
(name "python-cdflib")
|
||||
@@ -5032,6 +5074,42 @@ CFITSIO library. Among other things, it can
|
||||
@end itemize")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public python-flatstar
|
||||
(package
|
||||
(name "python-flatstar")
|
||||
(version "0.2.1-alpha")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/ladsantos/flatstar")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0r6w8sz7z9ri9plqn98dz93c9rb33ky544y1wzwifh1m8y3m67si"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
;; assert np.float32(2.861023e-06) < 1e-06
|
||||
#~(list "--deselect=tests/test_draw.py::test_supersampling"
|
||||
;; assert np.float32(1.9073486e-06) < 1e-06
|
||||
"--deselect=tests/test_draw.py::test_upscaling")))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-numpy
|
||||
python-pillow))
|
||||
(home-page "https://github.com/ladsantos/flatstar")
|
||||
(synopsis "Make 2d intensity maps of limb-darkened stars")
|
||||
(description
|
||||
"@code{flatstar} is a pure-Python tool for drawing stellar disks with
|
||||
scientifically-rigorous limb darkening. Each pixel has an accurate fractional
|
||||
intensity in relation to the total stellar intensity of @code{1.0}. It is
|
||||
ideal for ray-tracing simulations of stars and planetary transits.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-galsim
|
||||
(package
|
||||
(name "python-galsim")
|
||||
@@ -5703,6 +5781,41 @@ universes of galaxies starting from a catalog of dark matter halos obtained
|
||||
from a cosmological simulation.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-hapiclient
|
||||
(package
|
||||
(name "python-hapiclient")
|
||||
(version "0.2.5")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/hapi-server/client-python")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0mjb12cphcqq3vj3czyx77yrd3jl15gz6a2a2q5fcz21i63fpig6"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; Tests require access to:
|
||||
;; http://hapi-server.org/servers/TestData/xhapi
|
||||
;; http://hapi-server.org/servers/TestData2.0/hapi
|
||||
#:tests? #f))
|
||||
(native-inputs
|
||||
(list python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-isodate
|
||||
python-joblib
|
||||
python-numpy
|
||||
python-pandas
|
||||
python-urllib3))
|
||||
(home-page "https://github.com/hapi-server/client-python")
|
||||
(synopsis "Interface to Heliophysics data server API")
|
||||
(description
|
||||
"This package provides an interface to @acronym{Heliophysics Application
|
||||
Programmer’s Interface, HAPI} data server API.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-hasasia
|
||||
(package
|
||||
(name "python-hasasia")
|
||||
@@ -6477,6 +6590,47 @@ quantification of galaxies, quasar-host galaxy decomposition and much more.")
|
||||
(native-inputs
|
||||
(list python-setuptools))))
|
||||
|
||||
(define-public python-lephare
|
||||
(package
|
||||
(name "python-lephare")
|
||||
(version "0.3.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "lephare" version))
|
||||
(sha256
|
||||
(base32 "1nkd807kl2xg25iwb5wj380pxlvrd9abdaznaw5if3qjmjkjx86s"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
;; Network access is required to reach <http://svo2.cab.inta-csic.es>.
|
||||
#~(list "--deselect=tests/lephare/test_data_retrieval.py::test_get_auxiliary_data"
|
||||
"--deselect=tests/lephare/test_filter.py::test_filtersvc")
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-before 'sanity-check 'set-HOME
|
||||
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||
(native-inputs
|
||||
(list cmake-minimal
|
||||
python-pytest
|
||||
python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-matplotlib
|
||||
python-numpy
|
||||
python-platformdirs
|
||||
python-pooch
|
||||
python-requests
|
||||
python-scipy
|
||||
python-wurlitzer))
|
||||
(home-page "https://lephare.readthedocs.io/en/latest/")
|
||||
(synopsis "Photometric redshift estimator")
|
||||
(description
|
||||
"LePHARE is a code for estimating galaxy redshifts and physical parameters
|
||||
using template fitting.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-libstempo
|
||||
(package
|
||||
(name "python-libstempo")
|
||||
@@ -6692,6 +6846,37 @@ restrictive than the API used by astropy, so the appropriate module to use
|
||||
will depend on your needs.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-madrigalweb
|
||||
(package
|
||||
(name "python-madrigalweb")
|
||||
(version "3.3.7")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "madrigalweb" version))
|
||||
(sha256
|
||||
(base32 "0p55igi0xrckjbihcbjn14033hzliq6qjmacrxigrvjw3m016b75"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f)) ;network access is required
|
||||
(native-inputs
|
||||
(list python-setuptools))
|
||||
(home-page "https://cedar.openmadrigal.org")
|
||||
(synopsis "Python Madrigal Remote API")
|
||||
(description
|
||||
"@code{madrigalWeb} is a pure python module to access data from any
|
||||
@url{https://cedar.openmadrigal.org/, Madrigal}
|
||||
database.
|
||||
|
||||
Madrigal is an upper atmospheric science database used by groups throughout
|
||||
the world. Madrigal is a robust, World Wide Web based system capable of
|
||||
managing and serving archival and real-time data, in a variety of formats,
|
||||
from a wide range of upper atmospheric science instruments. Data at each
|
||||
Madrigal site is locally controlled and can be updated at any time, but shared
|
||||
metadata between Madrigal sites allow searching of all Madrigal sites at once
|
||||
from any Madrigal site.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-mapsims
|
||||
(package
|
||||
(name "python-mapsims")
|
||||
@@ -6970,6 +7155,44 @@ Astronomy.")
|
||||
"Orbital is a high level orbital mechanics package for Python.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-p-winds
|
||||
(package
|
||||
(name "python-p-winds")
|
||||
(version "1.4.7")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/ladsantos/p-winds")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0z94nvx47v50c7nq20kny49cr2w2xszvijy9bfxp2dbgq49ip244"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f)) ;network access is required to fetch test data
|
||||
(native-inputs
|
||||
(list python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-flatstar
|
||||
python-numpy
|
||||
python-scipy))
|
||||
(home-page "https://github.com/ladsantos/p-winds")
|
||||
(synopsis "Parker wind models for planetary atmospheres")
|
||||
(description
|
||||
"Python implementation of Parker wind models for planetary atmospheres.
|
||||
@code{p-winds} produces simplified, 1-D models of the upper atmosphere of a
|
||||
planet, and perform radiative transfer to calculate observable spectral
|
||||
signatures.
|
||||
|
||||
The scalable implementation of 1D models allows for atmospheric retrievals to
|
||||
calculate atmospheric escape rates and temperatures. In addition, the modular
|
||||
implementation allows for a smooth plugging-in of more complex descriptions to
|
||||
forward model their corresponding spectral signatures (e.g., self-consistent
|
||||
or 3D models).")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-petrofit
|
||||
(package
|
||||
(name "python-petrofit")
|
||||
@@ -8013,6 +8236,114 @@ data. Pysat's plug-in design allows analysis support for any data, including
|
||||
user provided data sets.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-pysatmadrigal
|
||||
(package
|
||||
(name "python-pysatmadrigal")
|
||||
(version "0.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/pysat/pysatMadrigal")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1x1sbx9xv9h1p85cryn2b9kbnxy0kb9xzfgxcvfrpfxa5ji4qwcp"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
;; ValueError: unable to open url http://cedar.openmadrigal.org
|
||||
#~(list "-k" "not test_download and not test_remote_file_list")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'sanity-check 'set-HOME
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(mkdir "pysatData")
|
||||
(invoke "python" "-c"
|
||||
"import pysat; pysat.params['data_dirs'] = 'pysatData'"))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-pytest-cov ;remove after pyton-team is merged
|
||||
python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-h5py
|
||||
python-madrigalweb
|
||||
python-numpy
|
||||
python-packaging
|
||||
python-pandas
|
||||
python-pysat
|
||||
python-xarray))
|
||||
(home-page "https://github.com/pysat/pysatMadrigal")
|
||||
(synopsis "Madrigal instrument support for the pysat ecosystem")
|
||||
(description
|
||||
"This package provides functions to import data from the
|
||||
@url{https://cedar.openmadrigal.org/, Madrigal} database (upper atmospheric
|
||||
science database) into pysat.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-pysatspaceweather
|
||||
(package
|
||||
(name "python-pysatspaceweather")
|
||||
(version "0.2.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/pysat/pysatSpaceWeather")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0gd6vzy2ikgkrff94qg52pysf1vp7h1p12p8in9j6f6n3cs1b0z2"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; tests: 352 passed, 561 skipped, 61 deselected, 2510 warnings
|
||||
#:test-flags
|
||||
#~(list "-m" "not remote_data"
|
||||
;; Network access is required.
|
||||
"-k" (string-join
|
||||
(list "not test_download"
|
||||
"test_historic_ace_no_data"
|
||||
"test_historic_download_past_limit"
|
||||
"test_missing_kp_file"
|
||||
"test_missing_prelim_file"
|
||||
"test_realtime_ace_bad_day"
|
||||
;; KeyError: 'f107'
|
||||
"test_45day_forecast_data_length")
|
||||
" and not "))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'sanity-check 'set-HOME
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(mkdir "pysatData")
|
||||
(invoke "python" "-c"
|
||||
"import pysat; pysat.params['data_dirs'] = 'pysatData'"))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-netcdf4
|
||||
python-numpy
|
||||
python-packaging
|
||||
python-pandas
|
||||
python-pysat
|
||||
python-requests
|
||||
python-xarray))
|
||||
(home-page "https://github.com/pysat/pysatSpaceWeather")
|
||||
(synopsis "Pysat support for Space Weather Indices")
|
||||
(description
|
||||
"This package provides pysatSpaceWeather - a Python module, which
|
||||
contains routines to load common historic, real-time, and forecasted space
|
||||
weather indices as pysat.Instrument objects.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-pysiaf
|
||||
(package
|
||||
(name "python-pysiaf")
|
||||
@@ -8188,6 +8519,59 @@ experiments. It is a large refactor of
|
||||
memory usage, improving performance and run in parallel with MPI.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-pyspedas
|
||||
(package
|
||||
(name "python-pyspedas")
|
||||
(version "2.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/spedas/pyspedas")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "12fdqf45rxwcsy72vbfwrzmd03zlcan62bawq966rcmqs1riwqwn"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; XXX: Netowrk access is required and set up of geopack.
|
||||
#:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'sanity-check 'set-HOME
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp"))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-aioboto3
|
||||
python-astropy
|
||||
python-cdasws
|
||||
python-cdflib
|
||||
python-fsspec
|
||||
python-geopack
|
||||
python-hapiclient
|
||||
python-matplotlib
|
||||
python-netcdf4
|
||||
python-numpy
|
||||
python-pandas
|
||||
python-pywavelets
|
||||
python-requests
|
||||
python-s3fs
|
||||
python-scipy
|
||||
python-setuptools
|
||||
python-spacepy
|
||||
python-xarray))
|
||||
(home-page "https://spedas.org")
|
||||
(synopsis "Python Space Physics Environment Data Analysis Software")
|
||||
(description
|
||||
"The Python-based Space Physics Environment Data Analysis Software
|
||||
(PySPEDAS) framework supports multi-mission, multi-instrument retrieval,
|
||||
analysis, and visualization of heliophysics time series data.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-pysynphot
|
||||
;; XXX: 2.0.0 was released in 2021 there are a lot of changes since that
|
||||
;; time and it failed to build with python-astropy 6.0.0, use the latest
|
||||
@@ -9402,6 +9786,67 @@ Computing Cluster, HPCC}
|
||||
@end itemize")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-spacepy
|
||||
(package
|
||||
(name "python-spacepy")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/spacepy/spacepy")
|
||||
(commit (string-append "release-" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1i9657j4qll3f8z20n9md93yh35n0vjj32k522bdqxq5pda8dng0"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; tests:
|
||||
#:test-flags
|
||||
#~(list "--ignore=developer/"
|
||||
;; Tests depend on https://cdf.gsfc.nasa.gov/.
|
||||
"--ignore=tests/test_all.py"
|
||||
"--ignore=tests/test_coordinates.py"
|
||||
"--ignore=tests/test_datamodel.py"
|
||||
"--ignore=tests/test_irbempy.py"
|
||||
"--ignore=tests/test_pycdf.py"
|
||||
"--ignore=tests/test_pycdf_istp.py"
|
||||
"--ignore=tests/test_time.py"
|
||||
;; AssertionError: Lists differ: ['[sp[38 chars]cePy UNRELEASED
|
||||
;; default test entry: value\n', [38 chars]]\n'] != ['[sp[38
|
||||
;; chars]cePy 0.7.0 default test entry: value\n', '#tes[33
|
||||
;; chars]]\n']
|
||||
(string-append "--deselect=tests/test_base.py::"
|
||||
"SpacepyConfigTests::"
|
||||
"testWriteDefaultsMultipleSections"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'sanity-check 'set-HOME
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")))
|
||||
(add-before 'check 'remove-local-source
|
||||
(lambda _
|
||||
(delete-file-recursively "spacepy"))))))
|
||||
(native-inputs
|
||||
(list gfortran
|
||||
python-pytest
|
||||
python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-h5py
|
||||
python-matplotlib
|
||||
python-numpy
|
||||
python-dateutil
|
||||
python-scipy))
|
||||
(home-page "https://github.com/spacepy/spacepy")
|
||||
(synopsis "Tools for Space Science Applications")
|
||||
(description
|
||||
"SpacePy is a package for Python, targeted at the space sciences, that
|
||||
aims to make basic data analysis, modeling and visualization easier. It
|
||||
builds on the capabilities of NumPy and MatPlotLib packages.")
|
||||
(license license:psfl)))
|
||||
|
||||
(define-public python-spacetrack
|
||||
(package
|
||||
(name "python-spacetrack")
|
||||
@@ -11675,7 +12120,7 @@ deconvolution). Such post-processing is not performed by Stackistry.")
|
||||
(define-public stellarium
|
||||
(package
|
||||
(name "stellarium")
|
||||
(version "25.4")
|
||||
(version "26.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
@@ -11684,16 +12129,12 @@ deconvolution). Such post-processing is not performed by Stackistry.")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "085ip706z3jsjgyp114h9x8sl7g947mrfrhgckrk86fmajwia3hc"))))
|
||||
(base32 "05c36v2cyvxdvh4wyapdgc642khnldnbpzad76ql738894ga5djk"))))
|
||||
(build-system qt-build-system)
|
||||
;; TODO: Complete documentation build and split into dedicated outputs.
|
||||
(arguments
|
||||
(list
|
||||
;; FIXME: Tests keep failing on 100% when preparing test-suit for INDI.
|
||||
#:tests? #f
|
||||
#:configure-flags
|
||||
#~(list "-DENABLE_GPS=1"
|
||||
"-DENABLE_TESTING=0"
|
||||
#~(list "-DENABLE_TESTING=ON"
|
||||
(string-append "-DCMAKE_CXX_FLAGS=-isystem "
|
||||
#$(this-package-input "qtpositioning") "/include/qt6"
|
||||
" -isystem "
|
||||
@@ -11720,6 +12161,7 @@ deconvolution). Such post-processing is not performed by Stackistry.")
|
||||
qtmultimedia
|
||||
qtpositioning
|
||||
qtserialport
|
||||
qtsvg
|
||||
qttranslations
|
||||
qtwayland
|
||||
qtwebengine
|
||||
@@ -11734,12 +12176,11 @@ deconvolution). Such post-processing is not performed by Stackistry.")
|
||||
python-wrapper
|
||||
qttools))
|
||||
(home-page "https://stellarium.org/")
|
||||
(synopsis "3D sky viewer")
|
||||
(synopsis "Planetarium and 3D sky viewer")
|
||||
(description
|
||||
"Stellarium is a planetarium. It shows a realistic sky in
|
||||
3D, just like what you see with the naked eye, binoculars, or a telescope. It
|
||||
can be used to control telescopes over a serial port for tracking celestial
|
||||
objects.")
|
||||
"Stellarium shows a realistic sky in 3D, just like what you see with the
|
||||
naked eye, binoculars, or a telescope. It can be used to control telescopes
|
||||
over a serial port for tracking celestial objects.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public stiff
|
||||
@@ -12047,7 +12488,7 @@ See related paper
|
||||
(define-public tenmon
|
||||
(package
|
||||
(name "tenmon")
|
||||
(version "20260217")
|
||||
(version "20260412")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
@@ -12056,7 +12497,7 @@ See related paper
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "07hiqr6jxmbw2dasbmyvcjmfxw4hjsn7xp269irjgfijsf8ga68n"))))
|
||||
(base32 "0ba7hnkskmr2rydy9rvf3c5cs401bv80qhs32sw5r43kdlpvlaxx"))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
(list
|
||||
@@ -12266,7 +12707,7 @@ traveling to a star 100 light years away looks like.")
|
||||
(define-public wcslib
|
||||
(package
|
||||
(name "wcslib")
|
||||
(version "8.5")
|
||||
(version "8.6")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -12274,7 +12715,7 @@ traveling to a star 100 light years away looks like.")
|
||||
"wcslib-releases/"
|
||||
"wcslib-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32 "1kpacbh6zrci44qab0jllkn3a9z3b465w17qcfivvfpxzdw1pzgi"))
|
||||
(base32 "0nndcz82qvfx3hhhw0bylyrydnc23a8bqhp71w4yz6d10lv44c70"))
|
||||
(snippet
|
||||
#~(begin (use-modules (guix build utils))
|
||||
(delete-file-recursively "C/flexed")))))
|
||||
|
||||
+12
-11
@@ -276,17 +276,18 @@ Ed448-Goldilocks and Curve448, using the Decaf encoding.")
|
||||
(define-public libsodium
|
||||
(package
|
||||
(name "libsodium")
|
||||
(version "1.0.21")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/jedisct1/libsodium")
|
||||
(commit (string-append version "-RELEASE"))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1l6pc3m8zl1sip9ib91bjsb2z2zr7xa7bhblwwmyn9x4nkwqj17n"))))
|
||||
(version "1.0.18")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (list (string-append
|
||||
"https://download.libsodium.org/libsodium/"
|
||||
"releases/libsodium-" version ".tar.gz")
|
||||
(string-append
|
||||
"https://download.libsodium.org/libsodium/"
|
||||
"releases/old/libsodium-" version ".tar.gz")))
|
||||
(sha256
|
||||
(base32
|
||||
"1h9ncvj23qbbni958knzsli8dvybcswcjbx0qjjgi922nf848l3g"))))
|
||||
(build-system gnu-build-system)
|
||||
(synopsis "Portable NaCl-based crypto library")
|
||||
(description
|
||||
|
||||
@@ -13508,8 +13508,8 @@ rules to solve permissions issues.")
|
||||
|
||||
(define-public steam-devices-udev-rules
|
||||
;; Last release from 2019-04-10
|
||||
(let ((commit "7dde9ecb3c386363ecd9bd0a3b77e4756d200704")
|
||||
(revision "2"))
|
||||
(let ((commit "13443480a64fe8f10676606bd57da6de89f8ccb1")
|
||||
(revision "1"))
|
||||
(package
|
||||
(name "steam-devices-udev-rules")
|
||||
(version (git-version "1.0.0.61" revision commit))
|
||||
@@ -13521,7 +13521,7 @@ rules to solve permissions issues.")
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0w0xkgi9fpvdbpl57f8fy2nwy2icm6iag39b8ifpkijlxgclx1p3"))))
|
||||
"0i086gmnk93q76sw1laa9br6b7zj2r6nrrw7d64y4q9wcrlxw2bi"))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
'(#:install-plan '(("./" "lib/udev/rules.d"
|
||||
|
||||
@@ -1219,20 +1219,23 @@ readily with other Python GIS packages such as pyproj, Rtree, and Shapely.")
|
||||
(define-public python-geopack
|
||||
(package
|
||||
(name "python-geopack")
|
||||
(version "1.0.10")
|
||||
(version "1.0.12")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "geopack" version))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/tsssss/geopack")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0mryjp7m4h99qlpvnn40s81sygr73qcv8rkmjp9pcli1gz829kjf"))))
|
||||
(base32 "0ap5j4359xxjkbz06y097yq5d37sxcwlnlsfwrv6dvza7ydmgcgg"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; XXX Reported upstream <https://github.com/tsssss/geopack/issues/21>.
|
||||
#:tests? #f))
|
||||
(native-inputs
|
||||
(list python-pytest python-setuptools python-wheel))
|
||||
(list python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-numpy python-scipy))
|
||||
(home-page "https://github.com/tsssss/geopack")
|
||||
|
||||
@@ -3995,6 +3995,45 @@ addition it can be used as a module in Python for plotting. It supports
|
||||
vector and bitmap output, including PDF, Postscript, SVG and EMF.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public voro++
|
||||
(package
|
||||
(name "voro++")
|
||||
(version "0.4.6")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://math.lbl.gov/" name "/download/dir/"
|
||||
name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0zj3xbrqf8sm49yhypy23k3w9786r94kcwm8v803ikp23q3p0ygg"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ;no tests
|
||||
#:make-flags #~(list (string-append "PREFIX=" #$output))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure)))) ;no configure
|
||||
(home-page "https://math.lbl.gov/voro++/")
|
||||
(synopsis "C++ library for the computation of the Voronoi diagram")
|
||||
(description
|
||||
"Voro++ is a software library for carrying out three-dimensional
|
||||
computations of the Voronoi tessellation. A distinguishing feature of the
|
||||
Voro++ library is that it carries out cell-based calculations, computing the
|
||||
Voronoi cell for each particle individually. It is particularly well-suited
|
||||
for applications that rely on cell-based statistics, where features of Voronoi
|
||||
cells (eg. volume, centroid, number of faces) can be used to analyze a system
|
||||
of particles.
|
||||
|
||||
Voro++ comprises of several C++ classes that can be built as a static library.
|
||||
A command-line utility is also provided that can use most features of the
|
||||
code. The direct cell-by-cell construction makes the library particularly
|
||||
well-suited to handling special boundary conditions and walls. It employs
|
||||
algorithms that are tolerant for numerical precision errors, it exhibits high
|
||||
performance, and it has been successfully employed on very large particle
|
||||
systems.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public maxflow
|
||||
(package
|
||||
(name "maxflow")
|
||||
|
||||
@@ -167,6 +167,46 @@
|
||||
#:use-module (guix utils)
|
||||
#:use-module (srfi srfi-1))
|
||||
|
||||
(define-public python-aioboto3
|
||||
(package
|
||||
(name "python-aioboto3")
|
||||
(version "15.5.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/terricain/aioboto3")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "05644x17f9sl8mv9bp8l0rjcmw5x2ssyd5z1v3xmgcspk5qs6qn8"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ;XXX: all tests faild
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-requirements
|
||||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
(("aiobotocore\\[boto3\\]==2.25.1")
|
||||
"aiobotocore >= 2.25.1")))))))
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-setuptools-scm))
|
||||
(propagated-inputs
|
||||
(list python-aiobotocore
|
||||
python-aiofiles
|
||||
;; [optional]
|
||||
python-boto3
|
||||
python-cryptography))
|
||||
(home-page "https://github.com/terricain/aioboto3")
|
||||
(synopsis "Async boto3 wrapper")
|
||||
(description
|
||||
"This package is mostly just a wrapper combining the great work of boto3
|
||||
and aiobotocore.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public python-aiocoap
|
||||
(package
|
||||
(name "python-aiocoap")
|
||||
@@ -7883,7 +7923,7 @@ basic TCP/IP protocols.")
|
||||
(define-public python-geventhttpclient
|
||||
(package
|
||||
(name "python-geventhttpclient")
|
||||
(version "2.3.9")
|
||||
(version "2.3.3")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
@@ -7893,7 +7933,7 @@ basic TCP/IP protocols.")
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1diq6n9sr92rsqbpxlbhbn1d22hrlzp6swykz9bfzh7sxpywa6j8"))))
|
||||
"1ya0i0fbx054mfx5d1k75fcf64xzp7vva8lkwwzan41xbnc56nyj"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
||||
;;; Copyright © 2023 Simon Streit <simon@netpanic.org>
|
||||
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
||||
;;; Copyright © 2024-2026 Ashish SHUKLA <ashish.is@lostca.se>
|
||||
;;; Copyright © 2024, 2025 Ashish SHUKLA <ashish.is@lostca.se>
|
||||
;;; Copyright © 2024, 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||
;;; Copyright © 2025 Ghislain Vaillant <ghislain.vaillant@inria.fr>
|
||||
;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
|
||||
@@ -237,7 +237,7 @@ a server that supports the SSH-2 protocol.")
|
||||
(define-public openssh
|
||||
(package
|
||||
(name "openssh")
|
||||
(version "10.3p1")
|
||||
(version "10.2p1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -245,7 +245,7 @@ a server that supports the SSH-2 protocol.")
|
||||
"openssh-" version ".tar.gz"))
|
||||
(patches (search-patches "openssh-trust-guix-store-directory.patch"))
|
||||
(sha256
|
||||
(base32 "1x25iv8yfcfpf3b1ap72indbfna0wz48xz8ny2sg9p4jpcv2ls2n"))))
|
||||
(base32 "1clqyxh6mrbwjg964df0hjwmd361mxnx3nx17wk5jyck3422ri6c"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
||||
+46
-142
@@ -2,7 +2,7 @@
|
||||
;;; Copyright © 2012-2017, 2019-2025 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
||||
;;; Copyright © 2013, 2015, 2026 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2015 David Thompson <davet@gnu.org>
|
||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2016, 2017, 2019, 2021-2024 Efraim Flashner <efraim@flashner.co.il>
|
||||
@@ -98,7 +98,7 @@
|
||||
(define-public libtasn1
|
||||
(package
|
||||
(name "libtasn1")
|
||||
(version "4.21.0")
|
||||
(version "4.20.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -106,7 +106,7 @@
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"11ywcy8n115c8b3vmf7hmgkdhlfy4phlcwvp8114di9w495492hx"))))
|
||||
"0v57hwsv4wijb0fvfp6s9jx35izhhgfjssq3fvpaxm029jyy7q4j"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--disable-static")))
|
||||
@@ -430,7 +430,7 @@ OpenSSL for TARGET."
|
||||
(define-public openssl-1.1
|
||||
(package
|
||||
(name "openssl")
|
||||
(version "1.1.1w")
|
||||
(version "1.1.1u")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (list (string-append "https://www.openssl.org/source/openssl-"
|
||||
@@ -443,7 +443,7 @@ OpenSSL for TARGET."
|
||||
(patches (search-patches "openssl-1.1-c-rehash-in.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"1j3anw4554lk3m9cvjngvh1c2gbdkhgiz160jnnm7n5l1jarhc6g"))))
|
||||
"1ipbcdlqyxbj5lagasrq2p6gn0036wq6hqp7gdnd1v1ya95xiy72"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out"
|
||||
"doc" ;6.8 MiB of man3 pages and full HTML documentation
|
||||
@@ -452,11 +452,14 @@ OpenSSL for TARGET."
|
||||
(arguments
|
||||
(list
|
||||
#:make-flags
|
||||
(if (or (target-arm?) (target-riscv64?))
|
||||
;; 'test_afalg' seems to be dependent on kernel features:
|
||||
;; <https://github.com/openssl/openssl/issues/12242>.
|
||||
#~(list "TESTS=-test_afalg")
|
||||
#~(list))
|
||||
;; 'test_ssl_new.t' in 1.1.1n and 3.0.3 fails due to an expired
|
||||
;; certificate: <https://github.com/openssl/openssl/issues/18441>. Skip
|
||||
;; it.
|
||||
#~(list #$@(if (or (target-arm?) (target-riscv64?))
|
||||
;; 'test_afalg' seems to be dependent on kernel features:
|
||||
;; <https://github.com/openssl/openssl/issues/12242>.
|
||||
#~("TESTS=-test_afalg -tls_ssl_new")
|
||||
#~("TESTS=-test_ssl_new")))
|
||||
#:test-target "test"
|
||||
;; Changes to OpenSSL sometimes cause Perl to "sneak in" to the closure,
|
||||
;; so we explicitly disallow it here.
|
||||
@@ -547,11 +550,10 @@ OpenSSL for TARGET."
|
||||
(license license:openssl)
|
||||
(home-page "https://www.openssl.org/")))
|
||||
|
||||
(define-public openssl-3.5
|
||||
;; LTS series with EOL 2030-04-08
|
||||
(define-public openssl-3.0
|
||||
(package
|
||||
(name "openssl")
|
||||
(version "3.5.5")
|
||||
(inherit openssl-1.1)
|
||||
(version "3.0.8")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (list (string-append "https://www.openssl.org/source/openssl-"
|
||||
@@ -564,136 +566,38 @@ OpenSSL for TARGET."
|
||||
(patches (search-patches "openssl-3.0-c-rehash-in.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"129aphl9yy5xd67cwacf000llkhpi1s8phmlhgws2rcb599r335j"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out"
|
||||
"doc"
|
||||
"static"))
|
||||
"0gjb7qjl2jnzs1liz3rrccrddxbk6q3lg8z27jn1xwzx72zx44vc"))))
|
||||
(arguments
|
||||
(list
|
||||
#:parallel-tests? #f
|
||||
#:make-flags
|
||||
(if (or (target-arm?) (target-riscv64?))
|
||||
;; 'test_afalg' seems to be dependent on kernel features:
|
||||
;; <https://github.com/openssl/openssl/issues/12242>.
|
||||
#~(list "TESTS=-test_afalg")
|
||||
#~(list))
|
||||
#:test-target "test"
|
||||
#:configure-flags
|
||||
(if (system-hurd?)
|
||||
(if (target-hurd64?)
|
||||
#~(list "hurd-x86_64")
|
||||
#~(list "hurd-x86"))
|
||||
#~(list))
|
||||
;; Changes to OpenSSL sometimes cause Perl to "sneak in" to the closure,
|
||||
;; so we explicitly disallow it here.
|
||||
#:disallowed-references (list (this-package-native-input "perl"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda* (#:key configure-flags native-inputs inputs target #:allow-other-keys)
|
||||
;; It's not a shebang so patch-source-shebangs misses it.
|
||||
(substitute* "config"
|
||||
(("/usr/bin/env")
|
||||
(which "env")))
|
||||
#$@(if (%current-target-system)
|
||||
#~((setenv "CROSS_COMPILE" (string-append target "-"))
|
||||
(setenv "CONFIGURE_TARGET_ARCH"
|
||||
#$(target->openssl-target
|
||||
this-package
|
||||
(%current-target-system))))
|
||||
#~())
|
||||
;; Configure PERL.
|
||||
(setenv "HASHBANGPERL"
|
||||
(search-input-file (or native-inputs inputs)
|
||||
"/bin/perl"))
|
||||
(apply
|
||||
invoke #$@(if (%current-target-system)
|
||||
#~("./Configure")
|
||||
#~("./config"))
|
||||
"shared" ;build shared libraries
|
||||
"--libdir=lib"
|
||||
|
||||
;; The default for this catch-all directory is
|
||||
;; PREFIX/ssl. Change that to something more
|
||||
;; conventional.
|
||||
(string-append "--openssldir=" #$output
|
||||
"/share/openssl-"
|
||||
#$(package-version this-package))
|
||||
|
||||
(string-append "--prefix=" #$output)
|
||||
(string-append "-Wl,-rpath," (string-append #$output "/lib"))
|
||||
#$@(if (%current-target-system)
|
||||
#~((getenv "CONFIGURE_TARGET_ARCH"))
|
||||
#~())
|
||||
configure-flags)
|
||||
;; Output the configure variables.
|
||||
(invoke "perl" "configdata.pm" "--dump")))
|
||||
(add-after 'install 'move-static-libraries
|
||||
(lambda _
|
||||
;; Move static libraries to the "static" output.
|
||||
(let* ((lib (string-append #$output "/lib"))
|
||||
(slib (string-append #$output:static "/lib")))
|
||||
(for-each (lambda (file)
|
||||
(install-file file slib)
|
||||
(delete-file file))
|
||||
(find-files
|
||||
lib
|
||||
#$(if (target-mingw?)
|
||||
'(lambda (filename _)
|
||||
(and (string-suffix? ".a" filename)
|
||||
(not (string-suffix? ".dll.a"
|
||||
filename))))
|
||||
"\\.a$"))))))
|
||||
(add-after 'install 'move-extra-documentation
|
||||
(lambda _
|
||||
;; Move man pages and full HTML documentation to "doc".
|
||||
(let* ((man (string-append #$output "/share/man"))
|
||||
(html (string-append #$output "/share/doc/openssl"))
|
||||
(man-target (string-append #$output:doc "/share/man"))
|
||||
(html-target (string-append
|
||||
#$output:doc "/share/doc/openssl")))
|
||||
(mkdir-p (dirname man-target))
|
||||
(mkdir-p (dirname html-target))
|
||||
(rename-file man man-target)
|
||||
(rename-file html html-target))))
|
||||
(add-after 'install 'remove-miscellany
|
||||
(lambda _
|
||||
;; The 'misc' directory contains random undocumented shell and
|
||||
;; Perl scripts. Remove them to avoid retaining a reference on
|
||||
;; Perl.
|
||||
(delete-file-recursively
|
||||
(string-append #$output "/share/openssl-"
|
||||
#$(package-version this-package) "/misc")))))))
|
||||
(native-inputs (list perl))
|
||||
(native-search-paths
|
||||
(list $SSL_CERT_DIR $SSL_CERT_FILE))
|
||||
(home-page "https://www.openssl.org/")
|
||||
(synopsis "SSL/TLS implementation")
|
||||
(description "OpenSSL is an implementation of SSL/TLS.")
|
||||
(substitute-keyword-arguments (package-arguments openssl-1.1)
|
||||
((#:phases phases '%standard-phases)
|
||||
#~(modify-phases #$phases
|
||||
(add-before 'configure 'configure-perl
|
||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||
(setenv "HASHBANGPERL"
|
||||
(search-input-file (or native-inputs inputs)
|
||||
"/bin/perl"))))
|
||||
#$@(if (target-hurd?)
|
||||
#~((delete 'patch-configure))
|
||||
#~())
|
||||
#$@(if (target-hurd64?)
|
||||
#~((add-after 'unpack 'apply-hurd-patch
|
||||
(lambda _
|
||||
(let ((patch-file
|
||||
#$(local-file
|
||||
(search-patch "openssl-hurd64.patch"))))
|
||||
(invoke "patch" "--force" "-p1" "-i"
|
||||
patch-file)))))
|
||||
#~())))
|
||||
((#:configure-flags flags #~'())
|
||||
(if (system-hurd?) ;must not be used when
|
||||
#~(append #$flags ;cross-compiling!
|
||||
#$(if (target-hurd64?)
|
||||
#~'("hurd-x86_64")
|
||||
#~'("hurd-x86")))
|
||||
flags))))
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public openssl-3.0
|
||||
;; LTS series with EOL 2026-09-07
|
||||
(package
|
||||
(inherit openssl-3.5)
|
||||
(version "3.0.19")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (list (string-append "https://www.openssl.org/source/openssl-"
|
||||
version ".tar.gz")
|
||||
(string-append "ftp://ftp.openssl.org/source/"
|
||||
"openssl-" version ".tar.gz")
|
||||
(string-append "ftp://ftp.openssl.org/source/old/"
|
||||
(string-trim-right version char-set:letter)
|
||||
"/openssl-" version ".tar.gz")))
|
||||
(patches (search-patches "openssl-3.0-c-rehash-in.patch"
|
||||
"openssl-hurd64.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"0wihnr5bjdc3v0r4viwb1d1lf1rfkbrcmwzj7vjqpqdap11l2nps"))))))
|
||||
|
||||
(define-public openssl openssl-3.5)
|
||||
(define-public openssl openssl-3.0)
|
||||
|
||||
(define-public bearssl
|
||||
(package
|
||||
@@ -917,7 +821,7 @@ certificates for free.")
|
||||
"0pfrpi77964cg15dm6y0w03l64xs0k2nqc15qh2xmv8vdnjyhywx"))
|
||||
(patches (search-patches "perl-net-ssleay-colon-parsing.patch"))))
|
||||
(build-system perl-build-system)
|
||||
(inputs (list openssl-3.0))
|
||||
(inputs (list openssl))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
|
||||
Reference in New Issue
Block a user