3
0
Fork 0
forked from mirrors/nixpkgs

sdrangel: fix darwin build

Tested and changed the platform metadata for the dependent libs.
This commit is contained in:
Mathieu Rene 2023-03-12 16:21:49 -04:00
parent e4c31c2dfc
commit ab570e4a42
8 changed files with 13 additions and 12 deletions

View file

@ -1,4 +1,6 @@
{ airspy
{ lib
, stdenv
, airspy
, airspyhf
, aptdec
, boost
@ -13,7 +15,6 @@
, glew
, hackrf
, hidapi
, lib
, ffmpeg
, libiio
, libopus
@ -95,7 +96,7 @@ mkDerivation rec {
"-DDAB_LIB=${dab_lib}"
"-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv"
"-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include"
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite.so"
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite${stdenv.hostPlatform.extensions.sharedLibrary}"
"-DSGP4_DIR=${sgp4}"
"-DSOAPYSDR_DIR=${soapysdr-with-plugins}"
];
@ -110,6 +111,6 @@ mkDerivation rec {
homepage = "https://github.com/f4exb/sdrangel";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ alkeryn ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -26,6 +26,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/Xerbo/aptdec";
license = licenses.gpl2;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
homepage = "https://github.com/f4exb/cm256cc";
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ alkeryn ];
license = licenses.gpl3;
};

View file

@ -23,6 +23,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/JvanKatwijk/dab-cmdline";
license = licenses.gpl2;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/f4exb/dsdcc";
license = licenses.gpl3;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -1,9 +1,9 @@
{ qtModule, speechd, pkg-config }:
{ lib, qtModule, stdenv, speechd, pkg-config }:
qtModule {
pname = "qtspeech";
qtInputs = [ ];
buildInputs = [ speechd ];
buildInputs = lib.optionals stdenv.isLinux [ speechd ];
nativeBuildInputs = [ pkg-config ];
outputs = [ "out" "dev" ];
}

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "C++ Minimal interface to encode and decode audio with AMBE3000 based devices in packet mode over a serial link";
homepage = "https://github.com/f4exb/serialdv";
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ alkeryn ];
license = licenses.gpl3;
};

View file

@ -18,6 +18,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/dnwrnr/sgp4";
license = licenses.asl20;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}