@@ -0,0 +1,30 @@
1+{ stdenv, fetchFromGitHub, cmake, pkg-config, glib, libbsd, check, pcre }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "rcon";
5+ version = "0.5";
6+
7+ src = fetchFromGitHub {
8+ owner = "n0la";
9+ repo = "rcon";
10+ rev = version;
11+ sha256 = "1jsnmsm2qkiv8dan1yncx0qp6zfkcbyvf81c7xwpv6r499ijw1nb";
12+ };
13+
14+ nativeBuildInputs = [ cmake pkg-config ];
15+
16+ buildInputs = [
17+ glib
18+ libbsd
19+ check
20+ pcre
21+ ];
22+
23+ meta = with stdenv.lib; {
24+ homepage = "https://github.com/n0la/rcon";
25+ description = "Source RCON client for command line";
26+ maintainers = with maintainers; [ f4814n ];
27+ platforms = with platforms; linux ++ darwin;
28+ license = licenses.bsd2;
29+ };
30+}