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