Archived
1
0
Fork 0

gnu: gpredict: Improve package style.

* gnu/packages/astronomy.scm (gpredict): Improve package style. Reorder
fields to be similar with others to ease review.
[native-inputs]: Remove labels.
[arguments]: Use G-expressions. Drop trailing #t in phases.

Change-Id: I0e0216825ce2c9e77632a43dd604ab4abbdf3e83
Signed-off-by: Eric Bavier <bavier@posteo.net>
This commit is contained in:
Sharlatan Hellseher 2023-11-17 12:15:51 +00:00 committed by Eric Bavier
parent 1d43cd5818
commit d3a93691ac
No known key found for this signature in database
GPG key ID: BC45CA67E2F8D007

View file

@ -3153,23 +3153,21 @@ Mercator, Mollweide, Peters, polyconic, orthographic and rectangular.")
(sha256 (sha256
(base32 "0hwf97kng1zy8rxyglw04x89p0bg07zq30hgghm20yxiw2xc8ng7")))) (base32 "0hwf97kng1zy8rxyglw04x89p0bg07zq30hgghm20yxiw2xc8ng7"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
(list
#:configure-flags #~(list "CFLAGS=-O2 -g -fcommon")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
(lambda _
;; Remove reference to non-existent file.
(substitute* "po/POTFILES.in"
(("src/gtk-sat-tree\\.c") "")))))))
(native-inputs (native-inputs
`(("intltool" ,intltool) (list gettext-minimal intltool pkg-config))
("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config)))
(inputs (inputs
(list curl glib goocanvas gtk+)) (list curl glib goocanvas gtk+))
(arguments (home-page "http://gpredict.oz9aec.net/index.php")
`(#:configure-flags '("CFLAGS=-O2 -g -fcommon")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
(lambda _
;; Remove reference to non-existent file.
(substitute* "po/POTFILES.in"
(("src/gtk-sat-tree\\.c")
""))
#t)))))
(synopsis "Satellite tracking and orbit prediction application") (synopsis "Satellite tracking and orbit prediction application")
(description (description
"Gpredict is a real-time satellite tracking and orbit prediction "Gpredict is a real-time satellite tracking and orbit prediction
@ -3177,7 +3175,6 @@ application. It can track a large number of satellites and display their
position and other data in lists, tables, maps, and polar plots (radar view). position and other data in lists, tables, maps, and polar plots (radar view).
Gpredict can also predict the time of future passes for a satellite, and Gpredict can also predict the time of future passes for a satellite, and
provide you with detailed information about each pass.") provide you with detailed information about each pass.")
(home-page "http://gpredict.oz9aec.net/index.php")
(license license:gpl2+))) (license license:gpl2+)))
(define-public sgp4 (define-public sgp4