Merge pull request #107288 from numinit/soapyaudio
soapyaudio: init at 0.1.1
This commit is contained in:
commit
832ae4311a
2 changed files with 34 additions and 0 deletions
31
pkgs/applications/radio/soapyaudio/default.nix
Normal file
31
pkgs/applications/radio/soapyaudio/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, pkg-config
|
||||
, hamlib, rtaudio, alsaLib, libpulseaudio, libjack2, libusb1, soapysdr
|
||||
} :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "soapyaudio";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pothosware";
|
||||
repo = "SoapyAudio";
|
||||
rev = "soapy-audio-${version}";
|
||||
sha256 = "0minlsc1lvmqm20vn5hb4im7pz8qwklfy7sbr2xr73xkrbqdahc0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ hamlib rtaudio alsaLib libpulseaudio libjack2 libusb1 soapysdr ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/"
|
||||
"-DUSE_HAMLIB=ON"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/pothosware/SoapyAudio";
|
||||
description = "SoapySDR plugin for amateur radio and audio devices";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ numinit ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -16021,6 +16021,8 @@ in
|
|||
|
||||
soapyairspy = callPackage ../applications/radio/soapyairspy { };
|
||||
|
||||
soapyaudio = callPackage ../applications/radio/soapyaudio { };
|
||||
|
||||
soapybladerf = callPackage ../applications/radio/soapybladerf { };
|
||||
|
||||
soapyhackrf = callPackage ../applications/radio/soapyhackrf { };
|
||||
|
@ -16033,6 +16035,7 @@ in
|
|||
extraPackages = [
|
||||
limesuite
|
||||
soapyairspy
|
||||
soapyaudio
|
||||
soapybladerf
|
||||
soapyhackrf
|
||||
soapyremote
|
||||
|
|
Loading…
Reference in a new issue