guacamole-server: init at 1.5.2
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, autoPatchelfHook
|
||||
, autoreconfHook
|
||||
, cairo
|
||||
, ffmpeg_4-headless
|
||||
, freerdp
|
||||
, libjpeg_turbo
|
||||
, libpng
|
||||
, libossp_uuid
|
||||
, libpulseaudio
|
||||
, libssh2
|
||||
, libtelnet
|
||||
, libvncserver
|
||||
, libvorbis
|
||||
, libwebp
|
||||
, libwebsockets
|
||||
, makeBinaryWrapper
|
||||
, openssl
|
||||
, pango
|
||||
, perl
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "guacamole-server";
|
||||
version = "1.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "guacamole-server";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-L1hFZ24kwTSHwqCUslnt5cBKkNh1cpVxu1ntTN1gFr0=";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-error=format-truncation"
|
||||
"-Wno-error=format-overflow"
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
autoreconfHook
|
||||
makeBinaryWrapper
|
||||
perl
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cairo
|
||||
ffmpeg_4-headless
|
||||
freerdp
|
||||
libjpeg_turbo
|
||||
libossp_uuid
|
||||
libpng
|
||||
libpulseaudio
|
||||
libssh2
|
||||
libtelnet
|
||||
libvncserver
|
||||
libvorbis
|
||||
libwebp
|
||||
libwebsockets
|
||||
openssl
|
||||
pango
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-freerdp-plugin-dir=${placeholder "out"}/lib"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ./src/protocols/rdp/**/*.pl
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
ln -s ${freerdp}/lib/* $out/lib/
|
||||
wrapProgram $out/sbin/guacd --prefix LD_LIBRARY_PATH ":" $out/lib
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Clientless remote desktop gateway";
|
||||
homepage = "https://guacamole.apache.org/";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.drupol ];
|
||||
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||
mainProgram = "guacd";
|
||||
};
|
||||
})
|
||||
@@ -31339,6 +31339,8 @@ with pkgs;
|
||||
|
||||
guacamole-client = callPackage ../servers/guacamole-client { };
|
||||
|
||||
guacamole-server = callPackage ../servers/guacamole-server { };
|
||||
|
||||
q4wine = libsForQt5.callPackage ../applications/misc/q4wine { };
|
||||
|
||||
qrcodegen = callPackage ../development/libraries/qrcodegen { };
|
||||
|
||||
Reference in New Issue
Block a user