Unverified Commit 07f1b5a3 authored by Felix Bargfeldt's avatar Felix Bargfeldt Committed by GitHub
Browse files

ueransim: 3.2.6 -> 3.2.8 (#511834)

parents 5a5f9873 6aae5e74
Loading
Loading
Loading
Loading
+5 −15
Original line number Diff line number Diff line
@@ -7,30 +7,20 @@
  fetchpatch,
  lksctp-tools,
  iproute2,
  unstableGitUpdater,
  nix-update-script,
  makeWrapper,
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "ueransim";
  version = "3.2.6-unstable-2024-08-27";
  version = "3.2.8";

  src = fetchFromGitHub {
    owner = "aligungr";
    repo = "ueransim";
    rev = "528061fe10389876da58d3bd15e8cba6d7c152a9";
    hash = "sha256-8OxJzEcpFT6e/nQw1VK9kBdw9ulXedCpUEaBxIAN9cA=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-dnFGPEgnmbx+ehfeas1Imv8G7s8snd7P2h70E3PtmuY=";
  };

  patches = [
    # Fix gcc-15 build failure:
    #   https://github.com/aligungr/UERANSIM/pull/777
    (fetchpatch {
      name = "gcc-15.patch";
      url = "https://github.com/aligungr/UERANSIM/commit/8ffce535a11b63f688552c5c81f7d3ac793f47de.patch";
      hash = "sha256-w2T7PTR/ELNf9sre/GoHqZQb9A8k54cTKoce/RZ7XCU=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config
@@ -63,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  passthru.updateScript = unstableGitUpdater { };
  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Open source 5G UE and RAN (gNodeB) implementation";