aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2024-04-19 11:44:54 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2024-04-19 11:46:27 +0200
commit949f97f7f98ac74306b9de79c93790337d804e32 (patch)
tree4883d8059a1f7672ef376734a07db9733fff1deb /gnu/packages
parent9719de0764b1248b0c9531c98ca05da4c7bdc91f (diff)
downloadguix-949f97f7f98ac74306b9de79c93790337d804e32.tar
guix-949f97f7f98ac74306b9de79c93790337d804e32.tar.gz
gnu: nanovna-saver: Update to 0.6.3.
* gnu/packages/radio.scm (nanovna-saver): Update to 0.6.3. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools-scm. [inputs]: Replace python-pyqt by python-pyqt-6. [arguments]: Add 'set-version' phase. Change-Id: I1772dd67916c812148131e48424ca8a9948e008a
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/radio.scm19
1 files changed, 13 insertions, 6 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index ebe041de7f..56e674a8ed 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -90,6 +90,7 @@
#:use-module (gnu packages protobuf)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
@@ -116,6 +117,7 @@
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
+ #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system qt))
@@ -2005,7 +2007,7 @@ modes:
(define-public nanovna-saver
(package
(name "nanovna-saver")
- (version "0.5.3")
+ (version "0.6.3")
(source
(origin
(method git-fetch)
@@ -2014,14 +2016,19 @@ modes:
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1h0wzva8j7fqnpf0qy42bw9rdclgq3jdq902ajvd9v5iqcqs78n0"))))
- (build-system python-build-system)
+ (base32 "192lg3hmhr4r9b6an1k61d89fvar4kvqp3qjmpkb489c2zgaggll"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-cython))
+ (list python-cython python-setuptools-scm))
(inputs
- (list python-numpy python-pyqt python-pyserial python-scipy))
+ (list python-numpy python-pyqt-6 python-pyserial python-scipy))
(arguments
- '(#:tests? #f))
+ (list #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(home-page "https://github.com/NanoVNA-Saver/nanovna-saver")
(synopsis "GUI for NanoVNA devices")
(description