504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
51 lines
926 B
Nix
51 lines
926 B
Nix
{ stdenv
|
|
, lib
|
|
, cmake
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, fftwFloat
|
|
, mbedtls
|
|
, boost
|
|
, lksctp-tools
|
|
, libconfig
|
|
, pcsclite
|
|
, uhd
|
|
, soapysdr-with-plugins
|
|
, libbladeRF
|
|
, zeromq
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "srsran";
|
|
version = "23.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "srsran";
|
|
repo = "srsran";
|
|
rev = "release_${builtins.replaceStrings ["."] ["_"] version}";
|
|
sha256 = "sha256-3cQMZ75I4cyHpik2d/eBuzw7M4OgbKqroCddycw4uW8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [
|
|
fftwFloat
|
|
mbedtls
|
|
boost
|
|
libconfig
|
|
lksctp-tools
|
|
pcsclite
|
|
uhd
|
|
soapysdr-with-plugins
|
|
libbladeRF
|
|
zeromq
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.srslte.com/";
|
|
description = "Open-source 4G and 5G software radio suite.";
|
|
license = licenses.agpl3;
|
|
platforms = with platforms; linux ;
|
|
maintainers = with maintainers; [ hexagonal-sun ];
|
|
};
|
|
}
|