2021-04-26 23:27:49 +02:00
|
|
|
{ lib, stdenv, fetchurl, nixosTests }:
|
2013-05-29 19:15:49 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-10-11 21:29:27 +02:00
|
|
|
pname = "babeld";
|
2021-04-26 23:27:49 +02:00
|
|
|
version = "1.10";
|
2013-05-29 19:15:49 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-26 23:27:49 +02:00
|
|
|
url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1sld5bbig2pkcr4zrdpvfzifc6a3lc8i8kdzk5ryjh166844mxd5";
|
2013-05-29 19:15:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlags="PREFIX=$out ETCDIR=$out/etc"
|
|
|
|
'';
|
|
|
|
|
2019-10-12 01:30:55 +02:00
|
|
|
passthru.tests.babeld = nixosTests.babeld;
|
|
|
|
|
2021-04-26 23:27:49 +02:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://www.irif.fr/~jch/software/babel/";
|
2013-05-29 19:15:49 +02:00
|
|
|
description = "Loop-avoiding distance-vector routing protocol";
|
2021-04-26 23:27:49 +02:00
|
|
|
license = licenses.mit;
|
2021-04-26 23:39:49 +02:00
|
|
|
maintainers = with maintainers; [ fpletz hexa ];
|
2021-04-26 23:27:49 +02:00
|
|
|
platforms = platforms.linux;
|
2013-05-29 19:15:49 +02:00
|
|
|
};
|
|
|
|
}
|