mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: libnova: Use G-Expressions.
* gnu/packages/astronomy.scm (libnova): Adjust package style by applying G-Expressions and fix indention. [arguments]<#:phases>: Remove trailing #f from lambda. Change-Id: I63d239464fd3cb166449ef8904b5fd72326cb853
This commit is contained in:
parent
f74a8e8ac0
commit
8f86cbd5e9
1 changed files with 16 additions and 16 deletions
|
@ -3053,24 +3053,24 @@ (define-public libnova
|
|||
(name "libnova")
|
||||
(version "0.16")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://git.code.sf.net/p/libnova/libnova.git")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0icwylwkixihzni0kgl0j8dx3qhqvym6zv2hkw2dy6v9zvysrb1b"))))
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://git.code.sf.net/p/libnova/libnova.git")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0icwylwkixihzni0kgl0j8dx3qhqvym6zv2hkw2dy6v9zvysrb1b"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-git-version
|
||||
(lambda _
|
||||
(substitute* "./git-version-gen"
|
||||
(("/bin/sh") (which "sh")))
|
||||
#t)))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-git-version
|
||||
(lambda _
|
||||
(substitute* "./git-version-gen"
|
||||
(("/bin/sh") (which "sh"))))))))
|
||||
(native-inputs
|
||||
(list autoconf automake libtool))
|
||||
(synopsis "Celestial mechanics, astrometry and astrodynamics library")
|
||||
|
|
Loading…
Reference in a new issue