GNU bug report logs -
#50661
[PATCH] gnu: Add valeronoi.
Previous Next
Reported by: phodina <phodina <at> protonmail.com>
Date: Sat, 18 Sep 2021 13:26:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Sat, Sep 18 2021, phodina via Guix-patches via wrote:
> Fixed forgotten formatting issues.
>
> --8<---------------cut here---------------start------------->8--
>
> * gnu/packages/engineering.scm (valeronoi): New variable.
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index 46622f3a1f..f61fa04a43 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -24,6 +24,7 @@
> ;;; Copyright © 2021 qblade <qblade <at> protonmail.com>
> ;;; Copyright © 2021 Gerd Heber <gerd.heber <at> gmail.com>
> ;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
> +;;; Copyright © 2021 Petr Hodina <phodina <at> protonmail.com>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -127,6 +128,7 @@
> #:use-module (gnu packages xml)
> #:use-module (gnu packages xiph)
> #:use-module (gnu packages openkinect)
> + #:use-module (gnu packages xdisorg)
> #:use-module (gnu packages xorg))
>
> (define-public librecad
> @@ -1168,6 +1170,42 @@ educational use. As such, there is an emphasis on capabilities that improve
> the 'showing the effect of'-style of operation.")
> (license license:gpl2+)))
>
> +(define-public valeronoi
> +(package
> + (name "valeronoi")
> + (version "v0.1.3")
The version string should not contain the “v”, and the latest version
seems to be 0.1.4.
> + (source (origin
> + (method git-fetch)
> + (uri
> + (git-reference
> + (url "https://github.com/ccoors/Valeronoi")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "1a866h37xmhrnl7hnkhdzjjm8dpjwhq0va2g6hdcp7y949d82ipp"))))
> + (build-system cmake-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (replace 'check
> + (lambda* (#:key outputs #:allow-other-keys)
> + (invoke "./valeronoi-tests"))))))
The ‘outputs’ argument isn’t used, and the ‘check’ phase doesn’t respect
the ‘--without-tests’ package transformation. The following snippet
would fix this.
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "./valeronoi-tests")))
> + (inputs `(("qtbase" ,qtbase-5)
> + ("qtsvg" ,qtsvg)
> + ("openssl" ,openssl)
> + ("libxkbcommon" ,libxkbcommon)
> + ("cgal" ,cgal)
> + ("gmp" ,gmp)
> + ("mpfr" ,mpfr)
> + ("boost" ,boost)))
> + (synopsis "WiFi mapping companion app for Valetudo")
> + (description "Valeronoi (Valetudo + Voronoi) is a companion for Valetudo
> +for generating WiFi signal strength maps. It visualizes them using a Voronoi
> +diagram.")
> + (home-page "https://github.com/ccoors/Valeronoi")
> + (license license:gpl3)))
The ‘COPYING’ file says gpl3+.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 167 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.