24 stdenv.mkDerivation rec {
25 pname = "trunk-recorder";
28 src = fetchFromGitHub {
30 repo = "trunk-recorder";
32 hash = "sha256-d2iBCSLR3kr6rnLXO3MeGVdi6+8pqXZqW/yhxAvA1cY=";
35 cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=ON" ];
48 gnuradioPackages.osmosdr
53 ] ++ lib.optionals hackrfSupport [ hackrf ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ mpir ];
56 wrapProgram $out/bin/trunk-recorder --prefix PATH : ${
65 description = "Record calls from trunked radio systems";
66 homepage = "https://trunkrecorder.com/";
67 changelog = "https://github.com/robotastic/trunk-recorder/releases/tag/v${version}";
68 license = lib.licenses.gpl3;
69 maintainers = with lib.maintainers; [ PapayaJackal ];
70 mainProgram = "trunk-recorder";