[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: Add libosmo-dsp.
From: |
guix-commits |
Subject: |
05/07: gnu: Add libosmo-dsp. |
Date: |
Thu, 9 Apr 2020 17:18:25 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit bc94b75d75b25f29a402130ef3131844bfc922dc
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Thu Apr 9 22:39:28 2020 +0200
gnu: Add libosmo-dsp.
* gnu/packages/ham-radio.scm (libosmo-dsp): New variable.
---
gnu/packages/ham-radio.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/ham-radio.scm b/gnu/packages/ham-radio.scm
index 1948e97..33bff43 100644
--- a/gnu/packages/ham-radio.scm
+++ b/gnu/packages/ham-radio.scm
@@ -29,6 +29,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages documentation)
@@ -337,3 +338,48 @@ environment.")
to access different radio hardware.")
(home-page "https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR")
(license license:gpl3+)))
+
+(define-public libosmo-dsp
+ (package
+ (name "libosmo-dsp")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.osmocom.org/libosmo-dsp")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00plihnpym1gkfpflah8il9463qxzm9kx2f07jyvbkszpj8viq5g"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("bash-minimal" ,bash-minimal)
+ ("doxygen" ,doxygen)
+ ("git" ,git-minimal)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("texlive" ,(texlive-union (list texlive-amsfonts
+ texlive-latex-amsmath
+ ;; TODO: Add newunicodechar.
+ texlive-latex-graphics)))))
+ (inputs
+ `(("fftwf" ,fftwf)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "git-version-gen"
+ (("/bin/sh")
+ (string-append (assoc-ref inputs "bash")
+ "/bin/bash")))
+ #t)))))
+ (synopsis "DSP primitives for SDR")
+ (description
+ "This a C-language library for common DSP (Digital Signal Processing)
+primitives for SDR (Software Defined Radio).")
+ (home-page "https://osmocom.org/projects/libosmo-dsp")
+ (license license:gpl2+)))
- branch master updated (575a9b0 -> f76ac21), guix-commits, 2020/04/09
- 04/07: gnu: Add gnuradio-osmosdr., guix-commits, 2020/04/09
- 03/07: gnu: Add gnuradio., guix-commits, 2020/04/09
- 01/07: gnu: Add python-click-plugins., guix-commits, 2020/04/09
- 05/07: gnu: Add libosmo-dsp.,
guix-commits <=
- 06/07: gnu: Add gnuradio-iqbalance., guix-commits, 2020/04/09
- 02/07: gnu: Add codec2., guix-commits, 2020/04/09
- 07/07: gnu: Add gqrx., guix-commits, 2020/04/09