ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
29 lines
782 B
Nix
29 lines
782 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libcap }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "smcroute";
|
|
version = "2.4.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "troglobit";
|
|
repo = "smcroute";
|
|
rev = version;
|
|
sha256 = "0mjq9cx093b0825rqbcq3z0lzy81pd8h0fz6rda6npg3604rxj81";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ libcap ];
|
|
|
|
configureFlags = [
|
|
"--localstatedir=/var"
|
|
"--with-systemd=\$(out)/lib/systemd/system"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Static multicast routing daemon";
|
|
homepage = "https://troglobit.com/smcroute.html";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
platforms = with platforms; (linux ++ freebsd ++ netbsd ++ openbsd);
|
|
};
|
|
}
|