biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / radio / welle-io / default.nix
blob5a4ce6a9bca1ea5ee8ee56a5fafd9d43d4a99811
2   stdenv,
3   lib,
4   fetchFromGitHub,
5   cmake,
6   pkg-config,
7   wrapQtAppsHook,
8   qtbase,
9   qtcharts,
10   qtmultimedia,
11   qtdeclarative,
12   qt5compat,
13   faad2,
14   rtl-sdr,
15   soapysdr-with-plugins,
16   libusb-compat-0_1,
17   fftwSinglePrec,
18   lame,
19   mpg123,
22 stdenv.mkDerivation rec {
23   pname = "welle-io";
24   version = "2.5";
26   src = fetchFromGitHub {
27     owner = "AlbrechtL";
28     repo = "welle.io";
29     rev = "v${version}";
30     hash = "sha256-sSknzZiD9/MLyO+gAYopogOQu5HRcqaRcfqwq4Rld7A=";
31   };
33   nativeBuildInputs = [
34     cmake
35     pkg-config
36     wrapQtAppsHook
37   ];
39   buildInputs = [
40     faad2
41     fftwSinglePrec
42     lame
43     libusb-compat-0_1
44     mpg123
45     qtbase
46     qtcharts
47     qtmultimedia
48     qt5compat
49     rtl-sdr
50     soapysdr-with-plugins
51   ];
53   cmakeFlags = [
54     "-DRTLSDR=true"
55     "-DSOAPYSDR=true"
56   ];
58   meta = {
59     description = "DAB/DAB+ Software Radio";
60     homepage = "https://www.welle.io/";
61     maintainers = with lib.maintainers; [
62       ck3d
63       markuskowa
64     ];
65     license = lib.licenses.gpl2Only;
66     platforms = [
67       "x86_64-linux"
68       "i686-linux"
69     ] ++ lib.platforms.darwin;
70   };