-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry-vtt-headless.nix
60 lines (54 loc) · 1.06 KB
/
foundry-vtt-headless.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{ stdenv, requireFile, autoPatchelfHook, unzip, libX11, libXcomposite, glib
, libdrm, mesa, libXcursor, libXdamage, libXext, libXi, libXrender, libXtst, libxcb, nspr
, dbus, gdk-pixbuf, gtk3, pango, atk, cairo, expat, libxshmfence, libXrandr, libXScrnSaver
, alsaLib, at-spi2-core, cups, nss, ... }:
let
zipfile = requireFile {
name = "FoundryVTT-12.331.zip";
sha256 = "0y7j0xz4zick74fkd1gkbvf247l6vdi5b7831jgckhi4a5z2k0hz";
url = "";
};
in stdenv.mkDerivation rec {
pname = "foundry-vtt";
version = "12.331";
src = zipfile;
autoPatchelfIgnoreMissingDeps = true;
buildInputs = [
alsaLib
at-spi2-core
atk
autoPatchelfHook
cairo
cups
dbus
expat
gdk-pixbuf
glib
gtk3
libxshmfence
libdrm
libX11
libXScrnSaver
libXcomposite
libXcursor
libXdamage
libXext
libXi
libXrandr
libXrender
libXrender
libXtst
libxcb
nspr
nss
mesa
pango
unzip
];
unpackPhase = ''
unzip ${src} -d src
'';
installPhase = ''
cp -r src $out
'';
}