Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / smcroute / default.nix
blob09d2ef89131a284bf02b668be79affed87f2fbe6
1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libcap }:
3 stdenv.mkDerivation rec {
4   pname = "smcroute";
5   version = "2.5.7";
7   src = fetchFromGitHub {
8     owner = "troglobit";
9     repo = "smcroute";
10     rev = version;
11     sha256 = "sha256-b1FsaDw5wAZkOwc6Y7TsMwyfxIRQ2rNUTK+knEzOn7w=";
12   };
14   nativeBuildInputs = [ autoreconfHook pkg-config ];
15   buildInputs = [ libcap ];
17   configureFlags = [
18     "--localstatedir=/var"
19     "--with-systemd=\$(out)/lib/systemd/system"
20   ];
22   meta = with lib; {
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);
28   };