summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-03-11 14:19:13 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-03-31 21:04:11 +0100
commit1fe05a5f06cdfcd8b99b9a64b95eb1453f67f4f0 (patch)
treeab5fc6afd09169ccabb1a20c5781643c969d9b95
parent54fa3af9100b50f02ed9c65742d597f3920ea0f0 (diff)
gnu: Add tempo2.
* gnu/packages/astronomy.scm (tempo2): New variable. Change-Id: Ib994ae836b1a40f0c5b1a95d08cc9693a78e9739
-rw-r--r--gnu/packages/astronomy.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c1dd9a9b1e..ba697830f6 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -8309,6 +8309,44 @@ mode,ephemerides of pulse phase behavior (in the form of polynomial
expansions) are calculated from input timing models.")
(license license:gpl2+)))
+(define-public tempo2
+ (package
+ (name "tempo2")
+ (version "2025.02.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://bitbucket.org/psrsoft/tempo2")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06494q0zff1qj813y70r014ifm60cminhk7lisy4by022mr6wd3k"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-pathes
+ (lambda _
+ (substitute* (list "bootstrap" "plugin/make_build_settings.sh")
+ (("/bin/bash") (which "bash"))
+ (("/bin/echo") "echo")))))))
+ (native-inputs
+ (list autoconf
+ automake
+ gfortran
+ libtool
+ pkg-config))
+ (home-page "https://bitbucket.org/psrsoft/tempo2")
+ (synopsis "High precision pulsar timing tool")
+ (description
+ "Tempo2 is a pulsar timing package, based on the old FORTRAN TEMPO code
+to address some shortcomings in that code for high precision pulsar timing.
+See related paper
+@url{https://ui.adsabs.harvard.edu/abs/2006MNRAS.369..655H/abstract}.")
+ (license license:gpl3+)))
+
(define-public unsio
;; There is no versioned tag, use the latest commit.
(let ((commit "25e52468298e1194c9726ef5dba9d5fbb46870f5")