[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/13: gnu: hackrf: Improve style.
From: |
guix-commits |
Subject: |
02/13: gnu: hackrf: Improve style. |
Date: |
Wed, 14 Dec 2022 12:24:43 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit d94f7a7b5363c71bc9dbeaf6fff17b3a94c9fb18
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Wed Dec 14 17:10:54 2022 +0100
gnu: hackrf: Improve style.
* gnu/packages/radio.scm (hackrf)[source]: Use new URL.
[arguments]: Use gexps. Remove trailing booleans.
---
gnu/packages/radio.scm | 40 ++++++++++++++++++----------------------
1 file changed, 18 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 3883f90f5d..ecca65391c 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -1174,34 +1174,30 @@ for correctness.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/mossmann/hackrf")
+ (url "https://github.com/greatscottgadgets/hackrf")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0m9j160q5zb3jimszv1lb6j76zf5lwijvpfl1k28d832rh847vvk"))))
(build-system cmake-build-system)
(arguments
- '(#:configure-flags
- (list "-DUDEV_RULES_GROUP=dialout"
- (string-append "-DUDEV_RULES_PATH="
- (assoc-ref %outputs "out")
- "/lib/udev/rules.d"))
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'enter-source-directory
- (lambda _
- (chdir "host")
- #t))
- (add-after 'install 'delete-static-library
- (lambda* (#:key outputs #:allow-other-keys)
- (delete-file (string-append (assoc-ref outputs "out")
- "/lib/libhackrf.a"))
- #t))
- (add-before 'install-license-files 'leave-source-directory
- (lambda _
- (chdir "..")
- #t)))
- #:tests? #f)) ; no test suite
+ (list #:configure-flags
+ #~(list "-DUDEV_RULES_GROUP=dialout"
+ (string-append "-DUDEV_RULES_PATH="
+ #$output
+ "/lib/udev/rules.d"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'enter-source-directory
+ (lambda _
+ (chdir "host")))
+ (add-after 'install 'delete-static-library
+ (lambda _
+ (delete-file (string-append #$output "/lib/libhackrf.a"))))
+ (add-before 'install-license-files 'leave-source-directory
+ (lambda _
+ (chdir ".."))))
+ #:tests? #f)) ; no test suite
(native-inputs
(list pkg-config))
(inputs
- branch master updated (2f707f9493 -> e7b2433484), guix-commits, 2022/12/14
- 03/13: gnu: soapyhackrf: Update to 0.3.4-1.6c0c33f., guix-commits, 2022/12/14
- 04/13: gnu: soapyrtlsdr: Update to 0.3.3., guix-commits, 2022/12/14
- 01/13: gnu: hackrf: Update to 2022.09.1., guix-commits, 2022/12/14
- 06/13: gnu: xnec2c: Update to 4.4.12., guix-commits, 2022/12/14
- 07/13: gnu: dump1090: Update to 8.2., guix-commits, 2022/12/14
- 08/13: gnu: dump1090 : Improve style., guix-commits, 2022/12/14
- 05/13: gnu: gqrx: Update to 2.15.9., guix-commits, 2022/12/14
- 02/13: gnu: hackrf: Improve style.,
guix-commits <=
- 09/13: gnu: rtl-433: Update to 22.11., guix-commits, 2022/12/14
- 13/13: gnu: rfcat: Improve style., guix-commits, 2022/12/14
- 11/13: gnu: wfview: Update to 1.50., guix-commits, 2022/12/14
- 10/13: gnu: multimon-ng: Update to 1.2.0., guix-commits, 2022/12/14
- 12/13: gnu: rfcat: Update to 1.9.6., guix-commits, 2022/12/14