gnu: airspyhf: Update to 1.6.8-1.40836c5.
* gnu/packages/radio.scm (airspyhf): Update to 1.6.8-1.40836c5.master
parent
6fad6aa1e3
commit
f14d3944cc
|
@ -277,51 +277,53 @@ this package. E.g.: @code{(udev-rules-service 'rtl-sdr rtl-sdr)}")
|
||||||
(license license:gpl2+))))
|
(license license:gpl2+))))
|
||||||
|
|
||||||
(define-public airspyhf
|
(define-public airspyhf
|
||||||
(package
|
(let ((commit "40836c59d35d989fe00ac12ef774df736a36c6e4")
|
||||||
(name "airspyhf")
|
(revision "1"))
|
||||||
(version "1.6.8")
|
(package
|
||||||
(source
|
(name "airspyhf")
|
||||||
(origin
|
(version (git-version "1.6.8" revision commit))
|
||||||
(method git-fetch)
|
(source
|
||||||
(uri (git-reference
|
(origin
|
||||||
(url "https://github.com/airspy/airspyhf")
|
(method git-fetch)
|
||||||
(commit version)))
|
(uri (git-reference
|
||||||
(file-name (git-file-name name version))
|
(url "https://github.com/airspy/airspyhf")
|
||||||
(sha256
|
(commit commit)))
|
||||||
(base32 "0n699i5a9fzzhf80fcjlqq6p2a013rzlwmwv4nmwfafy6c8cr924"))))
|
(file-name (git-file-name name version))
|
||||||
(build-system cmake-build-system)
|
(sha256
|
||||||
(native-inputs
|
(base32 "1s3fm856smvja3cg6fy615igir8wb0dzbp0q25v3vls0qj6pvprb"))))
|
||||||
(list pkg-config))
|
(build-system cmake-build-system)
|
||||||
(inputs
|
(native-inputs
|
||||||
(list libusb))
|
(list pkg-config))
|
||||||
(arguments
|
(inputs
|
||||||
'(#:configure-flags '("-DINSTALL_UDEV_RULES=ON")
|
(list libusb))
|
||||||
#:tests? #f ; No tests
|
(arguments
|
||||||
#:phases
|
'(#:configure-flags '("-DINSTALL_UDEV_RULES=ON")
|
||||||
(modify-phases %standard-phases
|
#:tests? #f ; No tests
|
||||||
(add-after 'unpack 'fix-paths
|
#:phases
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(modify-phases %standard-phases
|
||||||
(substitute* "tools/CMakeLists.txt"
|
(add-after 'unpack 'fix-paths
|
||||||
(("DESTINATION \"/etc/udev/")
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(string-append "DESTINATION \""
|
(substitute* "tools/CMakeLists.txt"
|
||||||
(assoc-ref outputs "out")
|
(("DESTINATION \"/etc/udev/")
|
||||||
"/lib/udev/")))))
|
(string-append "DESTINATION \""
|
||||||
(add-after 'fix-paths 'fix-udev-rules
|
(assoc-ref outputs "out")
|
||||||
(lambda _
|
"/lib/udev/")))))
|
||||||
(substitute* "tools/52-airspyhf.rules"
|
(add-after 'fix-paths 'fix-udev-rules
|
||||||
;; The plugdev group does not exist; use dialout as in
|
(lambda _
|
||||||
;; the hackrf package.
|
(substitute* "tools/52-airspyhf.rules"
|
||||||
(("GROUP=\"plugdev\"")
|
;; The plugdev group does not exist; use dialout as in
|
||||||
"GROUP=\"dialout\"")))))))
|
;; the hackrf package.
|
||||||
(home-page "https://github.com/airspy/airspyhf")
|
(("GROUP=\"plugdev\"")
|
||||||
(synopsis "Software defined radio driver for Airspy HF+")
|
"GROUP=\"dialout\"")))))))
|
||||||
(description
|
(home-page "https://github.com/airspy/airspyhf")
|
||||||
"This package provides the driver and utilities for controlling the Airspy
|
(synopsis "Software defined radio driver for Airspy HF+")
|
||||||
HF+ Software Defined Radio (SDR) over USB.
|
(description
|
||||||
|
"This package provides the driver and utilities for controlling the
|
||||||
|
Airspy HF+ Software Defined Radio (SDR) over USB.
|
||||||
|
|
||||||
To install the airspyhf udev rules, you must extend @code{udev-service-type}
|
To install the airspyhf udev rules, you must extend @code{udev-service-type}
|
||||||
with this package. E.g.: @code{(udev-rules-service 'airspyhf airspyhf)}")
|
with this package. E.g.: @code{(udev-rules-service 'airspyhf airspyhf)}")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3))))
|
||||||
|
|
||||||
(define-public soapysdr
|
(define-public soapysdr
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue