nixpkgs/pkgs/tools/networking/radvd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
729 B
Nix
Raw Normal View History

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