tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
terraria-server: add mainProgram and small refactor
TomaSajt
2 years ago
b80c7a73
e2b5418c
+11
-3
1 changed file
expand all
collapse all
unified
split
pkgs
games
terraria-server
default.nix
+11
-3
pkgs/games/terraria-server/default.nix
···
1
1
-
{ stdenv, lib, file, fetchurl, autoPatchelfHook, unzip }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchurl
4
4
+
5
5
+
, autoPatchelfHook
6
6
+
, unzip
7
7
+
, zlib
8
8
+
}:
2
9
3
10
stdenv.mkDerivation rec {
4
11
pname = "terraria-server";
···
10
17
sha256 = "sha256-Mk+5s9OlkyTLXZYVT0+8Qcjy2Sb5uy2hcC8CML0biNY=";
11
18
};
12
19
13
13
-
buildInputs = [ file stdenv.cc.cc.libgcc ];
14
20
nativeBuildInputs = [ autoPatchelfHook unzip ];
21
21
+
buildInputs = [ stdenv.cc.cc.libgcc zlib ];
15
22
16
23
installPhase = ''
17
24
runHook preInstall
···
29
36
description = "Dedicated server for Terraria, a 2D action-adventure sandbox";
30
37
platforms = [ "x86_64-linux" ];
31
38
license = licenses.unfree;
32
32
-
maintainers = with maintainers; [ ncfavier ];
39
39
+
mainProgram = "TerrariaServer";
40
40
+
maintainers = with maintainers; [ ncfavier tomasajt ];
33
41
};
34
42
}