forked from mirrors/nixpkgs
3211982ded
18 May 2022: babeld-1.12.1 * Implement separate PC values for unicast and multicast, which avoids dropping packets protected by MAC when WiFi powersave is active. Thanks to Daniel Gröber. * Schedule an interface check just after adding an interface. Thanks to Andrew Hoff.
26 lines
663 B
Nix
26 lines
663 B
Nix
{ lib, stdenv, fetchurl, nixosTests }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "babeld";
|
|
version = "1.12.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-mrWdesdB82MN8j+cO2fGApTYs0q2IjmPm4l3OoeOyx4=";
|
|
};
|
|
|
|
preBuild = ''
|
|
makeFlags="PREFIX=$out ETCDIR=$out/etc"
|
|
'';
|
|
|
|
passthru.tests.babeld = nixosTests.babeld;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://www.irif.fr/~jch/software/babel/";
|
|
description = "Loop-avoiding distance-vector routing protocol";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fpletz hexa ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|