2019-10-11 23:30:55 +00:00
|
|
|
{ stdenv, fetchurl, nixosTests }:
|
2013-05-29 17:15:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-10-11 19:29:27 +00:00
|
|
|
pname = "babeld";
|
|
|
|
version = "1.9.1";
|
2013-05-29 17:15:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-10-11 19:29:27 +00:00
|
|
|
url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/${pname}-${version}.tar.gz";
|
2019-09-26 07:26:30 +00:00
|
|
|
sha256 = "1d503igqv9s5pgrhvxp1czjy2xfsjhagyyh2iny7g4cjvl0kq6qy";
|
2013-05-29 17:15:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlags="PREFIX=$out ETCDIR=$out/etc"
|
|
|
|
'';
|
|
|
|
|
2019-10-11 23:30:55 +00:00
|
|
|
passthru.tests.babeld = nixosTests.babeld;
|
|
|
|
|
2013-05-29 17:15:49 +00:00
|
|
|
meta = {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://www.pps.univ-paris-diderot.fr/~jch/software/babel/;
|
2013-05-29 17:15:49 +00:00
|
|
|
description = "Loop-avoiding distance-vector routing protocol";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2019-12-05 07:29:48 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ fpletz ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2013-05-29 17:15:49 +00:00
|
|
|
};
|
|
|
|
}
|