2023-02-07 23:59:55 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, nixosTests
|
|
|
|
}:
|
2013-05-29 17:15:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-10-11 19:29:27 +00:00
|
|
|
pname = "babeld";
|
2023-02-07 23:59:55 +00:00
|
|
|
version = "1.12.2";
|
2013-05-29 17:15:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-26 21:27:49 +00:00
|
|
|
url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz";
|
2023-02-07 23:59:55 +00:00
|
|
|
hash = "sha256-HbIrYZMHDqJFChq1EZb9cvWKEyn3gMsDiOLksud2jLs=";
|
2013-05-29 17:15:49 +00:00
|
|
|
};
|
|
|
|
|
2023-02-07 23:59:55 +00:00
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"man"
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=${placeholder "out"}"
|
|
|
|
"ETCDIR=${placeholder "out"}/etc"
|
|
|
|
];
|
2013-05-29 17:15:49 +00:00
|
|
|
|
2019-10-11 23:30:55 +00:00
|
|
|
passthru.tests.babeld = nixosTests.babeld;
|
|
|
|
|
2021-04-26 21:27:49 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://www.irif.fr/~jch/software/babel/";
|
2013-05-29 17:15:49 +00:00
|
|
|
description = "Loop-avoiding distance-vector routing protocol";
|
2021-04-26 21:27:49 +00:00
|
|
|
license = licenses.mit;
|
2022-08-03 12:13:56 +00:00
|
|
|
maintainers = with maintainers; [ hexa ];
|
2021-04-26 21:27:49 +00:00
|
|
|
platforms = platforms.linux;
|
2013-05-29 17:15:49 +00:00
|
|
|
};
|
|
|
|
}
|