mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: valeronoi: Reformat with guix style.
* gnu/packages/engineering.scm (valeronoi): Process package with guix style.
This commit is contained in:
parent
58452ecdb4
commit
0e467b7b0b
1 changed files with 40 additions and 43 deletions
|
@ -1357,35 +1357,33 @@ (define-public linsmith
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public valeronoi
|
(define-public valeronoi
|
||||||
(package
|
(package
|
||||||
(name "valeronoi")
|
(name "valeronoi")
|
||||||
(version "0.2.0")
|
(version "0.2.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri
|
(uri (git-reference
|
||||||
(git-reference
|
|
||||||
(url "https://github.com/ccoors/Valeronoi")
|
(url "https://github.com/ccoors/Valeronoi")
|
||||||
(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 "1qkhrqkjsmm0h1bxf2ihkqfhdr18xx5x1i2ds1mla13zm0bw2570"))
|
(base32 "1qkhrqkjsmm0h1bxf2ihkqfhdr18xx5x1i2ds1mla13zm0bw2570"))
|
||||||
(snippet
|
(snippet #~(begin
|
||||||
#~(begin (use-modules (guix build utils))
|
(use-modules (guix build utils))
|
||||||
(delete-file-recursively "3rdparty")
|
(delete-file-recursively "3rdparty")
|
||||||
(substitute* '("tests/test_colormap.cpp"
|
(substitute* '("tests/test_colormap.cpp"
|
||||||
"tests/test_main.cpp")
|
"tests/test_main.cpp")
|
||||||
(("catch\\.hpp") "catch2/catch.hpp"))))))
|
(("catch\\.hpp")
|
||||||
|
"catch2/catch.hpp"))))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(invoke "./valeronoi-tests")))))))
|
(invoke "./valeronoi-tests")))))))
|
||||||
(inputs
|
(inputs (list boost
|
||||||
(list boost
|
|
||||||
cgal
|
cgal
|
||||||
gmp
|
gmp
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
|
@ -1393,8 +1391,7 @@ (define-public valeronoi
|
||||||
openssl
|
openssl
|
||||||
qtbase
|
qtbase
|
||||||
qtsvg))
|
qtsvg))
|
||||||
(native-inputs
|
(native-inputs (list catch2))
|
||||||
(list catch2))
|
|
||||||
(home-page "https://github.com/ccoors/Valeronoi")
|
(home-page "https://github.com/ccoors/Valeronoi")
|
||||||
(synopsis "WiFi mapping companion application for Valetudo")
|
(synopsis "WiFi mapping companion application for Valetudo")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue