Merge pull request #53646 from betaboon/pr-gr-osmosdr-soapysdr
gnuradio-osmosdr: 0.1.4 -> 4d83c60, Added support for Soapysdr
This commit is contained in:
commit
bd7bbcb4e7
@ -1,24 +1,33 @@
|
||||
{ stdenv, fetchgit, cmake, pkgconfig, boost, gnuradio, rtl-sdr, uhd
|
||||
, makeWrapper, hackrf, airspy
|
||||
{ stdenv, fetchgit, cmake, pkgconfig, makeWrapper
|
||||
, boost
|
||||
, pythonSupport ? true, python, swig
|
||||
, airspy
|
||||
, gnuradio
|
||||
, hackrf
|
||||
, libbladeRF
|
||||
, rtl-sdr
|
||||
, soapysdr-with-plugins
|
||||
, uhd
|
||||
}:
|
||||
|
||||
assert pythonSupport -> python != null && swig != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnuradio-osmosdr-${version}";
|
||||
version = "0.1.4";
|
||||
version = "2018-08-15";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.osmocom.org/gr-osmosdr";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0vyzr4fhkblf2v3d7m0ch5hws4c493jw3ydl4y6b2dfbfzchhsz8";
|
||||
rev = "4d83c6067f059b0c5015c3f59f8117bbd361e877";
|
||||
sha256 = "1d5nb47506qry52bg4cn02d3l4lwxwz44g2fz1ph0q93c7892j60";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
cmake boost gnuradio rtl-sdr uhd makeWrapper hackrf airspy
|
||||
] ++ stdenv.lib.optionals pythonSupport [ python swig ];
|
||||
cmake makeWrapper boost
|
||||
airspy gnuradio hackrf libbladeRF rtl-sdr uhd
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [ soapysdr-with-plugins ]
|
||||
++ stdenv.lib.optionals pythonSupport [ python swig ];
|
||||
|
||||
postInstall = ''
|
||||
for prog in "$out"/bin/*; do
|
||||
|
Loading…
Reference in New Issue
Block a user