2020-04-24 23:36:52 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
|
2020-05-29 06:06:01 +00:00
|
|
|
, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects
|
2020-05-03 17:38:23 +00:00
|
|
|
, faad2, rtl-sdr, soapysdr-with-plugins, libusb-compat-0_1, fftwSinglePrec, lame, mpg123 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
let
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
in mkDerivation {
|
|
|
|
|
|
|
|
pname = "welle-io";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AlbrechtL";
|
|
|
|
repo = "welle.io";
|
|
|
|
rev = "v${version}";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "04fpm6sc431dl9i5h53xpd6k85j22sv8aawl7b6wv2fzpfsd9fwa";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
faad2
|
|
|
|
fftwSinglePrec
|
|
|
|
lame
|
2020-05-03 17:38:23 +00:00
|
|
|
libusb-compat-0_1
|
2020-04-24 23:36:52 +00:00
|
|
|
mpg123
|
|
|
|
qtbase
|
|
|
|
qtcharts
|
|
|
|
qtmultimedia
|
|
|
|
qtquickcontrols
|
|
|
|
qtquickcontrols2
|
2020-05-29 06:06:01 +00:00
|
|
|
qtgraphicaleffects
|
2020-04-24 23:36:52 +00:00
|
|
|
rtl-sdr
|
|
|
|
soapysdr-with-plugins
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DRTLSDR=true" "-DSOAPYSDR=true"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A DAB/DAB+ Software Radio";
|
|
|
|
homepage = "https://www.welle.io/";
|
|
|
|
maintainers = with maintainers; [ ck3d markuskowa ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = with platforms; [ "x86_64-linux" "i686-linux" ] ++ darwin;
|
|
|
|
};
|
|
|
|
}
|