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 @@ packages for HST.")
|
||||||
(name "libnova")
|
(name "libnova")
|
||||||
(version "0.16")
|
(version "0.16")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://git.code.sf.net/p/libnova/libnova.git")
|
(url "https://git.code.sf.net/p/libnova/libnova.git")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0icwylwkixihzni0kgl0j8dx3qhqvym6zv2hkw2dy6v9zvysrb1b"))))
|
"0icwylwkixihzni0kgl0j8dx3qhqvym6zv2hkw2dy6v9zvysrb1b"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'patch-git-version
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'unpack 'patch-git-version
|
||||||
(substitute* "./git-version-gen"
|
(lambda _
|
||||||
(("/bin/sh") (which "sh")))
|
(substitute* "./git-version-gen"
|
||||||
#t)))))
|
(("/bin/sh") (which "sh"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf automake libtool))
|
(list autoconf automake libtool))
|
||||||
(synopsis "Celestial mechanics, astrometry and astrodynamics library")
|
(synopsis "Celestial mechanics, astrometry and astrodynamics library")
|
||||||
|
|
Reference in a new issue