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

49 lines
1,018 B
Nix
Raw Normal View History

2017-12-19 21:32:26 +00:00
{ stdenv, buildEnv, fetchFromGitHub, cmake, pkgconfig
, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2
2018-04-25 18:58:50 +00:00
, faad2, rtl-sdr, soapysdr-with-plugins, libusb, fftwSinglePrec }:
2017-12-19 21:32:26 +00:00
let
2018-02-17 08:07:18 +00:00
version = "1.0-rc2";
2017-12-19 21:32:26 +00:00
in stdenv.mkDerivation {
name = "welle-io-${version}";
src = fetchFromGitHub {
owner = "AlbrechtL";
repo = "welle.io";
rev = "V${version}";
2018-02-17 08:07:18 +00:00
sha256 = "01x4ldq6lvmdrmxi857594nj9xpn2h7848vvf3f54sh1zrawn4k4";
2017-12-19 21:32:26 +00:00
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
faad2
fftwSinglePrec
libusb
qtbase
qtcharts
qtmultimedia
qtquickcontrols
qtquickcontrols2
rtl-sdr
2018-04-25 18:58:50 +00:00
soapysdr-with-plugins
2017-12-19 21:32:26 +00:00
];
cmakeFlags = [
2018-04-25 18:58:50 +00:00
"-DRTLSDR=true" "-DSOAPYSDR=true"
2017-12-19 21:32:26 +00:00
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A DAB/DAB+ Software Radio";
homepage = http://www.welle.io/;
maintainers = with maintainers; [ ck3d ];
license = licenses.gpl2;
platforms = with platforms; linux ++ darwin;
};
}