2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, libbsd, check, pcre }:
|
2020-05-30 17:45:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rcon";
|
|
|
|
version = "0.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "n0la";
|
|
|
|
repo = "rcon";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1jsnmsm2qkiv8dan1yncx0qp6zfkcbyvf81c7xwpv6r499ijw1nb";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
libbsd
|
|
|
|
check
|
|
|
|
pcre
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-05-30 17:45:59 +00:00
|
|
|
homepage = "https://github.com/n0la/rcon";
|
|
|
|
description = "Source RCON client for command line";
|
|
|
|
maintainers = with maintainers; [ f4814n ];
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|