nixpkgs/pkgs/applications/radio/welle-io/default.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

2019-10-30 22:30:18 +00:00
{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig
2017-12-19 21:32:26 +00:00
, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2
2019-10-30 22:30:18 +00:00
, faad2, rtl-sdr, soapysdr-with-plugins, libusb, fftwSinglePrec, lame, mpg123 }:
2017-12-19 21:32:26 +00:00
let
2019-10-30 22:30:18 +00:00
version = "2.0";
2017-12-19 21:32:26 +00:00
2019-10-30 22:30:18 +00:00
in mkDerivation {
2017-12-19 21:32:26 +00:00
2019-08-13 22:52:01 +01:00
pname = "welle-io";
inherit version;
2017-12-19 21:32:26 +00:00
src = fetchFromGitHub {
owner = "AlbrechtL";
repo = "welle.io";
2019-10-30 22:30:18 +00:00
rev = "v${version}";
sha256 = "0cp8dyswgwidabaj9bvkkc6hl3160096j6myckd5bw00zxnbfiqn";
2017-12-19 21:32:26 +00:00
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
faad2
fftwSinglePrec
2019-10-30 22:30:18 +00:00
lame
2017-12-19 21:32:26 +00:00
libusb
2019-10-30 22:30:18 +00:00
mpg123
2017-12-19 21:32:26 +00:00
qtbase
qtcharts
qtmultimedia
qtquickcontrols
qtquickcontrols2
rtl-sdr
2018-04-25 19:58:50 +01:00
soapysdr-with-plugins
2017-12-19 21:32:26 +00:00
];
cmakeFlags = [
2018-04-25 19:58:50 +01:00
"-DRTLSDR=true" "-DSOAPYSDR=true"
2017-12-19 21:32:26 +00:00
];
enableParallelBuilding = true;
2019-10-30 22:30:18 +00:00
meta = with lib; {
2017-12-19 21:32:26 +00:00
description = "A DAB/DAB+ Software Radio";
2018-06-27 21:12:57 +01:00
homepage = https://www.welle.io/;
2019-02-09 19:49:03 +00:00
maintainers = with maintainers; [ ck3d markuskowa ];
2017-12-19 21:32:26 +00:00
license = licenses.gpl2;
platforms = with platforms; [ "x86_64-linux" "i686-linux" ] ++ darwin;
2017-12-19 21:32:26 +00:00
};
}