2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, libbsd, check, pcre }:
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rcon";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "0.6";
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "n0la";
|
|
|
|
repo = "rcon";
|
|
|
|
rev = version;
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-bHm6JeWmpg42VZQXikHl+BMx9zimRLBQWemTqOxyLhw=";
|
2020-10-27 00:29:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
libbsd
|
|
|
|
check
|
|
|
|
pcre
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-27 00:29:36 +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;
|
|
|
|
};
|
|
|
|
}
|