forked from mirrors/nixpkgs
ac3b07b581
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/smcroute/versions. These checks were done: - built on NixOS - /nix/store/919h9vn683b5whq3229sl3f907m1jsik-smcroute-2.4.1/bin/smcroutectl passed the binary check. - /nix/store/919h9vn683b5whq3229sl3f907m1jsik-smcroute-2.4.1/bin/smcrouted passed the binary check. - 2 of 2 passed binary check by having a zero exit code. - 2 of 2 passed binary check by having the new version present in output. - found 2.4.1 with grep in /nix/store/919h9vn683b5whq3229sl3f907m1jsik-smcroute-2.4.1 - directory tree listing: https://gist.github.com/f35692e1d0eaf5b66e1203fcdc9cdf6d - du listing: https://gist.github.com/6170a85a1ce970d7ef1388b28005dfee
30 lines
789 B
Nix
30 lines
789 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libcap }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "smcroute-${version}";
|
|
version = "2.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "troglobit";
|
|
repo = "smcroute";
|
|
rev = version;
|
|
sha256 = "0wh7c15lglcgiap9pplqpd5abnxhfx3vh0nqjzvfnl82hwhnld1z";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ libcap ];
|
|
|
|
configureFlags = [
|
|
"--localstatedir=/var"
|
|
"--with-systemd=\$(out)/lib/systemd/system"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Static multicast routing daemon";
|
|
homepage = http://troglobit.com/smcroute.html;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
platforms = with platforms; (linux ++ freebsd ++ netbsd ++ openbsd);
|
|
};
|
|
}
|