tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
soapysdr-with-plugins: add darwin support
Weijia Wang
3 years ago
097babd4
a989aa46
+52
-20
8 changed files
expand all
collapse all
unified
split
pkgs
applications
radio
limesuite
default.nix
soapyairspy
default.nix
soapyaudio
default.nix
soapybladerf
default.nix
soapyhackrf
default.nix
soapyremote
default.nix
soapyuhd
default.nix
top-level
all-packages.nix
+6
-3
pkgs/applications/radio/limesuite/default.nix
···
1
{ lib, stdenv, fetchFromGitHub, cmake
2
-
, sqlite, wxGTK30-gtk3, libusb1, soapysdr
3
, mesa_glu, libX11, gnuplot, fltk
0
4
} :
5
6
stdenv.mkDerivation rec {
···
23
buildInputs = [
24
libusb1
25
sqlite
26
-
wxGTK30-gtk3
27
fltk
28
gnuplot
29
libusb1
30
soapysdr
31
mesa_glu
32
libX11
0
0
33
];
34
35
postInstall = ''
···
42
homepage = "https://github.com/myriadrf/LimeSuite";
43
license = licenses.asl20;
44
maintainers = with maintainers; [ markuskowa ];
45
-
platforms = platforms.linux;
46
};
47
}
48
···
1
{ lib, stdenv, fetchFromGitHub, cmake
2
+
, sqlite, wxGTK32, libusb1, soapysdr
3
, mesa_glu, libX11, gnuplot, fltk
4
+
, GLUT
5
} :
6
7
stdenv.mkDerivation rec {
···
24
buildInputs = [
25
libusb1
26
sqlite
27
+
wxGTK32
28
fltk
29
gnuplot
30
libusb1
31
soapysdr
32
mesa_glu
33
libX11
34
+
] ++ lib.optionals stdenv.isDarwin [
35
+
GLUT
36
];
37
38
postInstall = ''
···
45
homepage = "https://github.com/myriadrf/LimeSuite";
46
license = licenses.asl20;
47
maintainers = with maintainers; [ markuskowa ];
48
+
platforms = platforms.unix;
49
};
50
}
51
+4
-2
pkgs/applications/radio/soapyairspy/default.nix
···
1
{ lib, stdenv, fetchFromGitHub, cmake
2
, airspy, soapysdr
0
3
} :
4
5
stdenv.mkDerivation rec {
···
14
};
15
16
nativeBuildInputs = [ cmake ];
17
-
buildInputs = [ airspy soapysdr ];
0
18
19
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
20
···
23
description = "SoapySDR plugin for Airspy devices";
24
license = licenses.mit;
25
maintainers = with maintainers; [ markuskowa ];
26
-
platforms = platforms.linux;
27
};
28
}
···
1
{ lib, stdenv, fetchFromGitHub, cmake
2
, airspy, soapysdr
3
+
, libobjc, IOKit, Security
4
} :
5
6
stdenv.mkDerivation rec {
···
15
};
16
17
nativeBuildInputs = [ cmake ];
18
+
buildInputs = [ airspy soapysdr ]
19
+
++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ];
20
21
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
22
···
25
description = "SoapySDR plugin for Airspy devices";
26
license = licenses.mit;
27
maintainers = with maintainers; [ markuskowa ];
28
+
platforms = platforms.unix;
29
};
30
}
+5
-2
pkgs/applications/radio/soapyaudio/default.nix
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2
, hamlib, rtaudio, alsa-lib, libpulseaudio, libjack2, libusb1, soapysdr
0
3
} :
4
5
stdenv.mkDerivation rec {
···
14
};
15
16
nativeBuildInputs = [ cmake pkg-config ];
17
-
buildInputs = [ hamlib rtaudio alsa-lib libpulseaudio libjack2 libusb1 soapysdr ];
0
0
18
19
cmakeFlags = [
20
"-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/"
···
26
description = "SoapySDR plugin for amateur radio and audio devices";
27
license = licenses.mit;
28
maintainers = with maintainers; [ numinit ];
29
-
platforms = platforms.linux;
30
};
31
}
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2
, hamlib, rtaudio, alsa-lib, libpulseaudio, libjack2, libusb1, soapysdr
3
+
, Accelerate, CoreAudio
4
} :
5
6
stdenv.mkDerivation rec {
···
15
};
16
17
nativeBuildInputs = [ cmake pkg-config ];
18
+
buildInputs = [ hamlib rtaudio libjack2 libusb1 soapysdr ]
19
+
++ lib.optionals stdenv.isLinux [ alsa-lib libpulseaudio ]
20
+
++ lib.optionals stdenv.isDarwin [ Accelerate CoreAudio ];
21
22
cmakeFlags = [
23
"-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/"
···
29
description = "SoapySDR plugin for amateur radio and audio devices";
30
license = licenses.mit;
31
maintainers = with maintainers; [ numinit ];
32
+
platforms = platforms.unix;
33
};
34
}
+4
-2
pkgs/applications/radio/soapybladerf/default.nix
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2
, libbladeRF, soapysdr
0
3
} :
4
5
let
···
17
};
18
19
nativeBuildInputs = [ cmake pkg-config ];
20
-
buildInputs = [ libbladeRF soapysdr ];
0
21
22
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
23
···
27
description = "SoapySDR plugin for BladeRF devices";
28
license = licenses.lgpl21Only;
29
maintainers = with maintainers; [ markuskowa ];
30
-
platforms = platforms.linux;
31
};
32
}
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2
, libbladeRF, soapysdr
3
+
, libobjc, IOKit, Security
4
} :
5
6
let
···
18
};
19
20
nativeBuildInputs = [ cmake pkg-config ];
21
+
buildInputs = [ libbladeRF soapysdr ]
22
+
++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ];
23
24
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
25
···
29
description = "SoapySDR plugin for BladeRF devices";
30
license = licenses.lgpl21Only;
31
maintainers = with maintainers; [ markuskowa ];
32
+
platforms = platforms.unix;
33
};
34
}
+4
-2
pkgs/applications/radio/soapyhackrf/default.nix
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2
, hackrf, soapysdr
0
3
} :
4
5
let
···
17
};
18
19
nativeBuildInputs = [ cmake pkg-config ];
20
-
buildInputs = [ hackrf soapysdr ];
0
21
22
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
23
···
26
description = "SoapySDR plugin for HackRF devices";
27
license = licenses.mit;
28
maintainers = with maintainers; [ markuskowa ];
29
-
platforms = platforms.linux;
30
};
31
}
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2
, hackrf, soapysdr
3
+
, libobjc, IOKit, Security
4
} :
5
6
let
···
18
};
19
20
nativeBuildInputs = [ cmake pkg-config ];
21
+
buildInputs = [ hackrf soapysdr ]
22
+
++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ];
23
24
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
25
···
28
description = "SoapySDR plugin for HackRF devices";
29
license = licenses.mit;
30
maintainers = with maintainers; [ markuskowa ];
31
+
platforms = platforms.unix;
32
};
33
}
+3
-1
pkgs/applications/radio/soapyremote/default.nix
···
19
20
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
21
0
0
22
meta = with lib; {
23
homepage = "https://github.com/pothosware/SoapyRemote";
24
description = "SoapySDR plugin for remote access to SDRs";
25
license = licenses.boost;
26
maintainers = with maintainers; [ markuskowa ];
27
-
platforms = platforms.linux;
28
};
29
}
···
19
20
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
21
22
+
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [ "-include sys/select.h" ];
23
+
24
meta = with lib; {
25
homepage = "https://github.com/pothosware/SoapyRemote";
26
description = "SoapySDR plugin for remote access to SDRs";
27
license = licenses.boost;
28
maintainers = with maintainers; [ markuskowa ];
29
+
platforms = platforms.unix;
30
};
31
}
+4
-2
pkgs/applications/radio/soapyuhd/default.nix
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2
, uhd, boost, soapysdr
0
3
} :
4
5
stdenv.mkDerivation rec {
···
14
};
15
16
nativeBuildInputs = [ cmake pkg-config ];
17
-
buildInputs = [ uhd boost soapysdr ];
0
18
19
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
20
···
27
description = "SoapySDR plugin for UHD devices";
28
license = licenses.gpl3Only;
29
maintainers = with maintainers; [ markuskowa ];
30
-
platforms = platforms.linux;
31
};
32
}
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2
, uhd, boost, soapysdr
3
+
, libobjc, IOKit, Security
4
} :
5
6
stdenv.mkDerivation rec {
···
15
};
16
17
nativeBuildInputs = [ cmake pkg-config ];
18
+
buildInputs = [ uhd boost soapysdr ]
19
+
++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ];
20
21
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
22
···
29
description = "SoapySDR plugin for UHD devices";
30
license = licenses.gpl3Only;
31
maintainers = with maintainers; [ markuskowa ];
32
+
platforms = platforms.unix;
33
};
34
}
+22
-6
pkgs/top-level/all-packages.nix
···
8805
8806
lidarr = callPackage ../servers/lidarr { };
8807
8808
-
limesuite = callPackage ../applications/radio/limesuite { };
0
0
8809
8810
limesurvey = callPackage ../servers/limesurvey { };
8811
···
21912
21913
snowcrash = callPackage ../tools/security/snowcrash { };
21914
21915
-
soapyairspy = callPackage ../applications/radio/soapyairspy { };
0
0
0
21916
21917
-
soapyaudio = callPackage ../applications/radio/soapyaudio { };
0
0
21918
21919
-
soapybladerf = callPackage ../applications/radio/soapybladerf { };
0
0
0
21920
21921
-
soapyhackrf = callPackage ../applications/radio/soapyhackrf { };
0
0
0
21922
21923
soapysdr = callPackage ../applications/radio/soapysdr { };
21924
···
21944
inherit (darwin.apple_sdk.frameworks) IOKit Security;
21945
};
21946
21947
-
soapyuhd = callPackage ../applications/radio/soapyuhd { };
0
0
0
21948
21949
social-engineer-toolkit = callPackage ../tools/security/social-engineer-toolkit { };
21950
···
8805
8806
lidarr = callPackage ../servers/lidarr { };
8807
8808
+
limesuite = callPackage ../applications/radio/limesuite {
8809
+
inherit (darwin.apple_sdk.frameworks) GLUT;
8810
+
};
8811
8812
limesurvey = callPackage ../servers/limesurvey { };
8813
···
21914
21915
snowcrash = callPackage ../tools/security/snowcrash { };
21916
21917
+
soapyairspy = callPackage ../applications/radio/soapyairspy {
21918
+
inherit (darwin) libobjc;
21919
+
inherit (darwin.apple_sdk.frameworks) IOKit Security;
21920
+
};
21921
21922
+
soapyaudio = callPackage ../applications/radio/soapyaudio {
21923
+
inherit (darwin.apple_sdk.frameworks) Accelerate CoreAudio;
21924
+
};
21925
21926
+
soapybladerf = callPackage ../applications/radio/soapybladerf {
21927
+
inherit (darwin) libobjc;
21928
+
inherit (darwin.apple_sdk.frameworks) IOKit Security;
21929
+
};
21930
21931
+
soapyhackrf = callPackage ../applications/radio/soapyhackrf {
21932
+
inherit (darwin) libobjc;
21933
+
inherit (darwin.apple_sdk.frameworks) IOKit Security;
21934
+
};
21935
21936
soapysdr = callPackage ../applications/radio/soapysdr { };
21937
···
21957
inherit (darwin.apple_sdk.frameworks) IOKit Security;
21958
};
21959
21960
+
soapyuhd = callPackage ../applications/radio/soapyuhd {
21961
+
inherit (darwin) libobjc;
21962
+
inherit (darwin.apple_sdk.frameworks) IOKit Security;
21963
+
};
21964
21965
social-engineer-toolkit = callPackage ../tools/security/social-engineer-toolkit { };
21966