srsran: init at 21.10 (#164167)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Matthew Leach 2022-03-27 14:15:17 +01:00 committed by GitHub
parent 63dd57021f
commit 620ead69a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ stdenv
, lib
, cmake
, fetchFromGitHub
, pkg-config
, fftwFloat
, mbedtls
, boost
, lksctp-tools
, libconfig
, pcsclite
, uhd
, soapysdr
, libbladeRF
}:
stdenv.mkDerivation rec {
pname = "srsran";
version = "21.10";
src = fetchFromGitHub {
owner = "srsran";
repo = "srsran";
rev = "release_${builtins.replaceStrings ["."] ["_"] version}";
sha256 = "sha256-uJv8khevp7g2p4zT6bkrut67kvMu+fuL1VHDDit0viw=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
fftwFloat
mbedtls
boost
libconfig
lksctp-tools
pcsclite
uhd
soapysdr
libbladeRF
];
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 ];
};
}

View File

@ -10172,6 +10172,8 @@ with pkgs;
srtrelay = callPackage ../applications/video/srtrelay { }; srtrelay = callPackage ../applications/video/srtrelay { };
srsran = callPackage ../applications/radio/srsran { };
sourcehut = callPackage ../applications/version-management/sourcehut { }; sourcehut = callPackage ../applications/version-management/sourcehut { };
sshfs-fuse = callPackage ../tools/filesystems/sshfs-fuse { }; sshfs-fuse = callPackage ../tools/filesystems/sshfs-fuse { };