2019-10-30 15:30:18 -07:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
|
2020-05-12 14:00:17 -07:00
|
|
|
, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects
|
2020-04-27 20:29:39 -07:00
|
|
|
, faad2, rtl-sdr, soapysdr-with-plugins, libusb-compat-0_1, fftwSinglePrec, lame, mpg123 }:
|
2017-12-19 13:32:26 -08:00
|
|
|
let
|
|
|
|
|
2019-12-06 10:31:56 -08:00
|
|
|
version = "2.1";
|
2017-12-19 13:32:26 -08:00
|
|
|
|
2019-10-30 15:30:18 -07:00
|
|
|
in mkDerivation {
|
2017-12-19 13:32:26 -08:00
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
pname = "welle-io";
|
|
|
|
inherit version;
|
2017-12-19 13:32:26 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AlbrechtL";
|
|
|
|
repo = "welle.io";
|
2019-10-30 15:30:18 -07:00
|
|
|
rev = "v${version}";
|
2019-12-06 10:31:56 -08:00
|
|
|
sha256 = "1j63gdbd66d6rfjsxwdm2agrcww1rs4438kg7313h6zixpcc1icj";
|
2017-12-19 13:32:26 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
faad2
|
|
|
|
fftwSinglePrec
|
2019-10-30 15:30:18 -07:00
|
|
|
lame
|
2020-04-27 20:29:39 -07:00
|
|
|
libusb-compat-0_1
|
2019-10-30 15:30:18 -07:00
|
|
|
mpg123
|
2017-12-19 13:32:26 -08:00
|
|
|
qtbase
|
|
|
|
qtcharts
|
|
|
|
qtmultimedia
|
|
|
|
qtquickcontrols
|
|
|
|
qtquickcontrols2
|
2020-05-12 14:00:17 -07:00
|
|
|
qtgraphicaleffects
|
2017-12-19 13:32:26 -08:00
|
|
|
rtl-sdr
|
2018-04-25 11:58:50 -07:00
|
|
|
soapysdr-with-plugins
|
2017-12-19 13:32:26 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
2018-04-25 11:58:50 -07:00
|
|
|
"-DRTLSDR=true" "-DSOAPYSDR=true"
|
2017-12-19 13:32:26 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-10-30 15:30:18 -07:00
|
|
|
meta = with lib; {
|
2017-12-19 13:32:26 -08:00
|
|
|
description = "A DAB/DAB+ Software Radio";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://www.welle.io/";
|
2019-02-09 11:49:03 -08:00
|
|
|
maintainers = with maintainers; [ ck3d markuskowa ];
|
2017-12-19 13:32:26 -08:00
|
|
|
license = licenses.gpl2;
|
2018-04-26 01:17:40 -07:00
|
|
|
platforms = with platforms; [ "x86_64-linux" "i686-linux" ] ++ darwin;
|
2017-12-19 13:32:26 -08:00
|
|
|
};
|
|
|
|
}
|