tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
guacamole-server: init at 1.5.2
Pol Dellaiera
2 years ago
a68567c3
7224fd53
+94
2 changed files
expand all
collapse all
unified
split
pkgs
servers
guacamole-server
default.nix
top-level
all-packages.nix
+92
pkgs/servers/guacamole-server/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, pkg-config
5
5
+
, autoPatchelfHook
6
6
+
, autoreconfHook
7
7
+
, cairo
8
8
+
, ffmpeg_4-headless
9
9
+
, freerdp
10
10
+
, libjpeg_turbo
11
11
+
, libpng
12
12
+
, libossp_uuid
13
13
+
, libpulseaudio
14
14
+
, libssh2
15
15
+
, libtelnet
16
16
+
, libvncserver
17
17
+
, libvorbis
18
18
+
, libwebp
19
19
+
, libwebsockets
20
20
+
, makeBinaryWrapper
21
21
+
, openssl
22
22
+
, pango
23
23
+
, perl
24
24
+
, nixosTests
25
25
+
}:
26
26
+
27
27
+
stdenv.mkDerivation (finalAttrs: {
28
28
+
pname = "guacamole-server";
29
29
+
version = "1.5.2";
30
30
+
31
31
+
src = fetchFromGitHub {
32
32
+
owner = "apache";
33
33
+
repo = "guacamole-server";
34
34
+
rev = finalAttrs.version;
35
35
+
hash = "sha256-L1hFZ24kwTSHwqCUslnt5cBKkNh1cpVxu1ntTN1gFr0=";
36
36
+
};
37
37
+
38
38
+
NIX_CFLAGS_COMPILE = [
39
39
+
"-Wno-error=format-truncation"
40
40
+
"-Wno-error=format-overflow"
41
41
+
];
42
42
+
43
43
+
strictDeps = true;
44
44
+
45
45
+
nativeBuildInputs = [
46
46
+
autoPatchelfHook
47
47
+
autoreconfHook
48
48
+
makeBinaryWrapper
49
49
+
perl
50
50
+
pkg-config
51
51
+
];
52
52
+
53
53
+
buildInputs = [
54
54
+
cairo
55
55
+
ffmpeg_4-headless
56
56
+
freerdp
57
57
+
libjpeg_turbo
58
58
+
libossp_uuid
59
59
+
libpng
60
60
+
libpulseaudio
61
61
+
libssh2
62
62
+
libtelnet
63
63
+
libvncserver
64
64
+
libvorbis
65
65
+
libwebp
66
66
+
libwebsockets
67
67
+
openssl
68
68
+
pango
69
69
+
];
70
70
+
71
71
+
configureFlags = [
72
72
+
"--with-freerdp-plugin-dir=${placeholder "out"}/lib"
73
73
+
];
74
74
+
75
75
+
postPatch = ''
76
76
+
patchShebangs ./src/protocols/rdp/**/*.pl
77
77
+
'';
78
78
+
79
79
+
postInstall = ''
80
80
+
ln -s ${freerdp}/lib/* $out/lib/
81
81
+
wrapProgram $out/sbin/guacd --prefix LD_LIBRARY_PATH ":" $out/lib
82
82
+
'';
83
83
+
84
84
+
meta = {
85
85
+
description = "Clientless remote desktop gateway";
86
86
+
homepage = "https://guacamole.apache.org/";
87
87
+
license = lib.licenses.asl20;
88
88
+
maintainers = [ lib.maintainers.drupol ];
89
89
+
platforms = [ "x86_64-linux" "i686-linux" ];
90
90
+
mainProgram = "guacd";
91
91
+
};
92
92
+
})
+2
pkgs/top-level/all-packages.nix
···
31339
31339
31340
31340
guacamole-client = callPackage ../servers/guacamole-client { };
31341
31341
31342
31342
+
guacamole-server = callPackage ../servers/guacamole-server { };
31343
31343
+
31342
31344
q4wine = libsForQt5.callPackage ../applications/misc/q4wine { };
31343
31345
31344
31346
qrcodegen = callPackage ../development/libraries/qrcodegen { };