nixpkgs-suyu/pkgs/applications/radio/qradiolink/default.nix
R. RyanTM a7e76e519f qradiolink: 0.5.0 -> 0.5.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/qradiolink/versions
2019-09-28 12:59:27 -07:00

60 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, alsaLib, boost
, qt4, libpulseaudio, codec2, libconfig
, gnuradio, gr-osmosdr, gsm
, libopus, libjpeg, protobuf, qwt, speex
} :
let
version = "0.5.2";
in stdenv.mkDerivation {
pname = "qradiolink";
inherit version;
src = fetchFromGitHub {
owner = "kantooon";
repo = "qradiolink";
rev = version;
sha256 = "0djhrr96b8sr2vi6hwbzgzlp9771622dp93f0rsphsyxlwbzsrgl";
};
preBuild = ''
cd ext
protoc --cpp_out=. Mumble.proto
protoc --cpp_out=. QRadioLink.proto
cd ..
qmake
'';
installPhase = ''
mkdir -p $out/bin
cp qradiolink $out/bin
'';
buildInputs = [
qt4
alsaLib
boost
libpulseaudio
codec2
libconfig
gsm
gnuradio
gr-osmosdr
libopus
libjpeg
protobuf
speex
qwt
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "SDR transceiver application for analog and digital modes";
homepage = http://qradiolink.org/;
license = licenses.agpl3;
maintainers = [ maintainers.markuskowa ];
platforms = platforms.linux;
};
}