gnu: valeronoi: Reformat with guix style.

* gnu/packages/engineering.scm (valeronoi): Process package with guix
style.
This commit is contained in:
Efraim Flashner 2023-10-17 11:21:54 +03:00
parent 58452ecdb4
commit 0e467b7b0b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1363,29 +1363,27 @@ (define-public valeronoi
(source
(origin
(method git-fetch)
(uri
(git-reference
(uri (git-reference
(url "https://github.com/ccoors/Valeronoi")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1qkhrqkjsmm0h1bxf2ihkqfhdr18xx5x1i2ds1mla13zm0bw2570"))
(snippet
#~(begin (use-modules (guix build utils))
(snippet #~(begin
(use-modules (guix build utils))
(delete-file-recursively "3rdparty")
(substitute* '("tests/test_colormap.cpp"
"tests/test_main.cpp")
(("catch\\.hpp") "catch2/catch.hpp"))))))
(("catch\\.hpp")
"catch2/catch.hpp"))))))
(build-system cmake-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "./valeronoi-tests")))))))
(inputs
(list boost
(inputs (list boost
cgal
gmp
libxkbcommon
@ -1393,8 +1391,7 @@ (define-public valeronoi
openssl
qtbase
qtsvg))
(native-inputs
(list catch2))
(native-inputs (list catch2))
(home-page "https://github.com/ccoors/Valeronoi")
(synopsis "WiFi mapping companion application for Valetudo")
(description