Skip to content

Commit

Permalink
roomarranger: init at 10.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bellackn committed Feb 24, 2025
1 parent 2d1f829 commit ca5e14b
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 0 deletions.
7 changes: 7 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2830,6 +2830,13 @@
github = "beezow";
githubId = 42082156;
};
bellackn = {
name = "Nico Bellack";
email = "[email protected]";
github = "bellackn";
githubId = 32039602;
keys = [ { fingerprint = "2B46 58FF 887A 8366 F88B BE92 CF83 0BB3 B973 9A6A"; } ];
};
ben9986 = {
name = "Ben Carmichael";
email = "[email protected]";
Expand Down
78 changes: 78 additions & 0 deletions pkgs/by-name/ro/roomarranger/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
at-spi2-atk,
autoPatchelfHook,
cairo,
cups,
fetchurl,
gdk-pixbuf,
gtk3,
lib,
libGL,
qt6,
stdenv,
xorg,
}:

stdenv.mkDerivation rec {
pname = "roomarranger";
version = "10.0.1";

src = fetchurl {
url = "https://f000.backblazeb2.com/file/rooarr/rooarr1001-linux64.tar.gz";
sha256 = "OwJSOfyTQinVKzrJftpFa5NN1kGweBezedpL2aE4LbE=";
};

nativeBuildInputs = [
autoPatchelfHook
stdenv.cc.cc.lib
qt6.wrapQtAppsHook
];

buildInputs = [
at-spi2-atk
cairo
cups
gdk-pixbuf
gtk3
libGL
qt6.qt3d
qt6.qtbase
qt6.qtwayland
xorg.libX11
xorg.libxcb
xorg.xcbutilimage
xorg.xcbutilkeysyms
xorg.xcbutilrenderutil
];

unpackPhase = "tar -xzf $src";

installPhase = ''
runHook preInstall
mkdir -p $out/lib $out/bin
cp -r rooarr-setup/rooarr-bin/* $out/lib/
# Remove bundled Qt libraries
rm -f $out/lib/libQt6*.so*
# Create a wrapper script to set LD_LIBRARY_PATH correctly
makeWrapper $out/lib/RoomArranger $out/bin/roomarranger \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs}
runHook postInstall
'';

meta = {
description = "3D room planning software";
longDescription = ''
Room Arranger is 3D room / apartment / floor planner with simple user interface.
Free for 30 days. Updates are free.
'';
homepage = "https://www.roomarranger.com/";
license = lib.licenses.unfree;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ bellackn ];
mainProgram = "roomarranger";
};
}

0 comments on commit ca5e14b

Please sign in to comment.