28 stdenv.mkDerivation (finalAttrs: {
29 pname = "guacamole-server";
32 src = fetchFromGitHub {
34 repo = "guacamole-server";
35 rev = finalAttrs.version;
36 hash = "sha256-ZrUaoWkZ3I/LxE7csDXXeUZ92jZDhkZ1c8EQU0gI1yY=";
40 # GUACAMOLE-1952: Add compatibility with FFMPEG 7.0
42 url = "https://github.com/apache/guacamole-server/commit/cc8addf9beb90305037a32f9f861a893be4cae08.patch?full_index=1";
43 hash = "sha256-VCr2/8lQHKVdsdah9gvak4MjFHO+X4ixE5+zsvwIY1I=";
47 NIX_CFLAGS_COMPILE = [
48 "-Wno-error=format-truncation"
49 "-Wno-error=format-overflow"
81 "--with-freerdp-plugin-dir=${placeholder "out"}/lib"
85 patchShebangs ./src/protocols/rdp/**/*.pl
89 ln -s ${freerdp}/lib/* $out/lib/
90 wrapProgram $out/sbin/guacd --prefix LD_LIBRARY_PATH ":" $out/lib
94 inherit (nixosTests) guacamole-server;
98 description = "Clientless remote desktop gateway";
99 homepage = "https://guacamole.apache.org/";
100 license = lib.licenses.asl20;
101 mainProgram = "guacd";
102 maintainers = [ lib.maintainers.drupol ];
103 platforms = [ "x86_64-linux" "i686-linux" ];