-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
}; | ||
} |