Skip to content

Commit

Permalink
trunk-recorder: init at 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrene committed Aug 14, 2024
1 parent 27599d0 commit e9f0d98
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions pkgs/trunk-recorder/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, uhd
, rtl-sdr
, hackrf
, sox
, fdk_aac
, boost
, gnuradio
, gnuradioPackages
, git
, spdlog
, gmp
, volk
, openssl
, curl
}:

stdenv.mkDerivation rec {
pname = "trunk-recorder";
version = "5.0.0";

# src = ./trunk-recorder;
src = fetchFromGitHub {
owner = "robotastic";
repo = "trunk-recorder";
rev = "v${version}";
hash = "sha256-KcLHE+3NLhEKMJ8y74l384lhoOMG9oy7F+iXpV+y5+Y=";
};

nativeBuildInputs = [
cmake
];

buildInputs = [
uhd
rtl-sdr
hackrf
sox
fdk_aac
gnuradio
gnuradioPackages.osmosdr
git
spdlog
gmp
boost
volk
openssl
curl
];


cmakeFlags = [
(lib.cmakeBool "CMAKE_SKIP_BUILD_RPATH" true)
];

meta = with lib; {
description = "Records calls from a Trunked Radio System (P25 & SmartNet";
homepage = "https://github.com/robotastic/trunk-recorder";
changelog = "https://github.com/robotastic/trunk-recorder/blob/${src.rev}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
mainProgram = "trunk-recorder";
platforms = platforms.all;
};
}

0 comments on commit e9f0d98

Please sign in to comment.