srsran: adjust repo, set structuredAttrs, change description, add maintainer, fix cmake variable for lte rates parameter (#526451)
This commit is contained in:
@@ -24,11 +24,12 @@
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "srsran";
|
||||
version = "25_10";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "srsran";
|
||||
repo = "srsran";
|
||||
rev = "release_${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
|
||||
repo = "srsRAN_4G";
|
||||
tag = "release_${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
|
||||
sha256 = "sha256-DwQ4u17m8D5RqX3OIYSyeE5+51sLah1qchRcwlX5i0A=";
|
||||
};
|
||||
|
||||
@@ -68,7 +69,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DENABLE_WERROR=OFF"
|
||||
(lib.cmakeBool "ENABLE_LTE_RATES" enableLteRates)
|
||||
(lib.cmakeBool "USE_LTE_RATES" enableLteRates)
|
||||
(lib.cmakeBool "ENABLE_AVX" enableAvx)
|
||||
(lib.cmakeBool "ENABLE_AVX2" enableAvx2)
|
||||
(lib.cmakeBool "ENABLE_FMA" enableFma)
|
||||
@@ -81,9 +82,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.srslte.com/";
|
||||
description = "Open-source 4G and 5G software radio suite";
|
||||
changelog = "https://github.com/srsran/srsRAN_4G/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Open-source 4G software radio suite, including complete LTE UE, eNodeB and EPC applications";
|
||||
license = lib.licenses.agpl3Plus;
|
||||
platforms = with lib.platforms; linux;
|
||||
maintainers = with lib.maintainers; [ hexagonal-sun ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [
|
||||
hexagonal-sun
|
||||
felbinger
|
||||
];
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user