summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/networking/radvd/default.nix
blob: 6a4c8a3d4f601e4642a5c17bd35b6893d9bea1b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl, pkg-config, libdaemon, bison, flex, check }:

stdenv.mkDerivation rec {
  pname = "radvd";
  version = "2.18";

  src = fetchurl {
    url = "http://www.litech.org/radvd/dist/${pname}-${version}.tar.xz";
    sha256 = "1p2wlv3djvla0r84hdncc3wfa530xigs7z9ssc2v5r1pcpzgxgz1";
  };

  nativeBuildInputs = [ pkg-config bison flex check ];
  buildInputs = [ libdaemon ];

  meta = with lib; {
    homepage = "http://www.litech.org/radvd/";
    description = "IPv6 Router Advertisement Daemon";
    platforms = platforms.linux;
    license = licenses.bsdOriginal;
    maintainers = with maintainers; [ fpletz ];
  };
}