1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libcap }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-b1FsaDw5wAZkOwc6Y7TsMwyfxIRQ2rNUTK+knEzOn7w=";
14 nativeBuildInputs = [ autoreconfHook pkg-config ];
15 buildInputs = [ libcap ];
18 "--localstatedir=/var"
19 "--with-systemd=\$(out)/lib/systemd/system"
23 description = "Static multicast routing daemon";
24 homepage = "https://troglobit.com/smcroute.html";
25 license = licenses.gpl2Plus;
26 maintainers = with maintainers; [ fpletz ];
27 platforms = with platforms; (linux ++ freebsd ++ netbsd ++ openbsd);