2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libdaemon, bison, flex, check }:
|
2011-02-19 16:04:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "radvd";
|
2021-02-01 11:32:29 +00:00
|
|
|
version = "2.19";
|
2016-02-26 23:03:00 +00:00
|
|
|
|
2011-02-19 16:04:34 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://www.litech.org/radvd/dist/${pname}-${version}.tar.xz";
|
2021-02-01 11:32:29 +00:00
|
|
|
sha256 = "0h722f17h7cra1sjgrxhrrvx54mm47fs039909yhbabigxch8kjn";
|
2011-02-19 16:04:34 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config bison flex check ];
|
2017-01-14 13:18:08 +00:00
|
|
|
buildInputs = [ libdaemon ];
|
2016-02-26 23:03:00 +00:00
|
|
|
|
2021-03-12 03:32:46 +00:00
|
|
|
# Needed for cross-compilation
|
|
|
|
makeFlags = [
|
|
|
|
"AR=${stdenv.cc.targetPrefix}ar"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.litech.org/radvd/";
|
2014-08-24 10:51:04 +01:00
|
|
|
description = "IPv6 Router Advertisement Daemon";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsdOriginal;
|
2019-01-26 10:01:09 +00:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2014-08-24 10:51:04 +01:00
|
|
|
};
|
2011-02-19 16:04:34 +00:00
|
|
|
}
|