1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/applications/radio/qradiolink/default.nix

61 lines
1.1 KiB
Nix
Raw Normal View History

2018-08-12 23:42:15 +01:00
{ stdenv, fetchFromGitHub, alsaLib, boost
, qt4, libpulseaudio, codec2, libconfig
, gnuradio, gr-osmosdr, gsm
2018-08-12 23:42:15 +01:00
, libopus, libjpeg, protobuf, qwt, speex
} :
let
2019-09-29 21:21:57 +01:00
version = "0.5.0";
2018-08-12 23:42:15 +01:00
in stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "qradiolink";
inherit version;
2018-08-12 23:42:15 +01:00
src = fetchFromGitHub {
owner = "kantooon";
repo = "qradiolink";
2019-09-09 00:38:31 +01:00
rev = version;
2019-09-29 21:21:57 +01:00
sha256 = "0xhg5zhjznmls5m3rhpk1qx0dipxmca12s85w15d0i7qwva2f1gi";
2018-08-12 23:42:15 +01:00
};
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
2018-08-12 23:42:15 +01:00
libopus
libjpeg
protobuf
speex
qwt
];
2018-09-25 12:39:59 +01:00
enableParallelBuilding = true;
2018-08-12 23:42:15 +01:00
meta = with stdenv.lib; {
description = "SDR transceiver application for analog and digital modes";
homepage = "http://qradiolink.org/";
2018-08-12 23:42:15 +01:00
license = licenses.agpl3;
maintainers = [ maintainers.markuskowa ];
platforms = platforms.linux;
};
}