Commit 409ca1f9 authored by Sigmanificient's avatar Sigmanificient
Browse files

radiance: drop

parent af559d36
Loading
Loading
Loading
Loading
+0 −47
Original line number Diff line number Diff line
{
  cmake,
  fetchFromGitHub,
  runCommand,
  lib,
  libGLU,
  stdenv,
  libX11,
  tcsh,
  tk,
}:
let
  csh = runCommand "csh" { } ''
    mkdir -p $out/bin
    ln -s ${lib.getExe tcsh} $out/bin/csh
  '';
in
stdenv.mkDerivation (finalAttrs: {
  pname = "radiance";
  version = "5.4";

  src = fetchFromGitHub {
    owner = "LBNL-ETA";
    repo = "radiance";
    tag = "rad${lib.versions.major finalAttrs.version}R${lib.versions.minor finalAttrs.version}";
    hash = "sha256-21lVWqO8uJefnm/dyfrjQJYbGck0fIRr2j0A+7WlZbM=";
  };

  nativeBuildInputs = [
    cmake
    csh # for some custom scripting in the repo
    tk # for wish
  ];

  buildInputs = [
    libGLU
    libX11
  ];

  meta = {
    description = "Validated Lighting Simulation Tool";
    homepage = "https://github.com/LBNL-ETA/Radiance";
    license = lib.licenses.bsd3Lbnl;
    maintainers = with lib.maintainers; [ robwalt ];
    mainProgram = "rad";
  };
})
+1 −0
Original line number Diff line number Diff line
@@ -1418,6 +1418,7 @@ mapAliases {
  quorum = throw "'quorum' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-07
  qv2ray = throw "'qv2ray' has been removed as it was unmaintained"; # Added 2025-06-03
  ra-multiplex = lib.warnOnInstantiate "'ra-multiplex' has been renamed to/replaced by 'lspmux'" lspmux; # Added 2025-10-27
  radiance = throw "'radiance' has been removed as it was broken for a long time"; # Added 2026-01-02
  radicale3 = throw "'radicale3' has been renamed to/replaced by 'radicale'"; # Converted to throw 2025-10-27
  railway-travel = throw "'railway-travel' has been renamed to/replaced by 'diebahn'"; # Converted to throw 2025-10-27
  rambox-pro = throw "'rambox-pro' has been renamed to/replaced by 'rambox'"; # Converted to throw 2025-10-27