2021-05-03 20:48:10 +00:00
|
|
|
{ lib, stdenv, fetchurl, nixosTests }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "babeld";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "1.11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-03 20:48:10 +00:00
|
|
|
url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz";
|
2022-04-15 01:41:22 +00:00
|
|
|
sha256 = "sha256-mTFa6vLqIH8XfBaFX/o0/DVK8bWYjAcODy/KOg1ND6U=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlags="PREFIX=$out ETCDIR=$out/etc"
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru.tests.babeld = nixosTests.babeld;
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://www.irif.fr/~jch/software/babel/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Loop-avoiding distance-vector routing protocol";
|
2021-05-03 20:48:10 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fpletz hexa ];
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|