Skip to content

Commit faf4d89

Browse files
authored
nakama: init at 3.26.0 (#378552)
1 parent d73bb6e commit faf4d89

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

pkgs/by-name/na/nakama/package.nix

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
}:
6+
7+
buildGoModule rec {
8+
pname = "nakama";
9+
version = "3.26.0";
10+
11+
src = fetchFromGitHub {
12+
owner = "heroiclabs";
13+
repo = "nakama";
14+
tag = "v${version}";
15+
hash = "sha256-so8N2gk4TfeJy30XxiXH7utXs8InvnXm68ZoSvFykQk=";
16+
};
17+
18+
vendorHash = null;
19+
20+
subPackages = [ "." ];
21+
22+
ldflags = [
23+
"-s"
24+
"-w"
25+
"-X main.version=${version}"
26+
];
27+
28+
doCheck = false;
29+
30+
meta = {
31+
description = "Distributed server for social and realtime games and apps";
32+
homepage = "https://heroiclabs.com/nakama/";
33+
changelog = "https://github.com/heroiclabs/nakama/releases/tag/v${version}";
34+
license = lib.licenses.asl20;
35+
platforms = lib.platforms.linux;
36+
maintainers = [ lib.maintainers.qxrein ];
37+
mainProgram = "nakama";
38+
};
39+
}

0 commit comments

Comments
 (0)