depot/third_party/nixpkgs/pkgs/tools/networking/rcon/default.nix
Default email ae1b531433 Project import generated by Copybara.
GitOrigin-RevId: 1dc37370c489b610f8b91d7fdd40633163ffbafd
2020-10-27 01:29:36 +01:00

30 lines
672 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkg-config, glib, libbsd, check, pcre }:
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
];
meta = with stdenv.lib; {
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;
};
}