a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
25 lines
701 B
Nix
25 lines
701 B
Nix
{ lib, stdenv, fetchurl, nixosTests }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "babeld";
|
|
version = "1.9.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/${pname}-${version}.tar.gz";
|
|
sha256 = "01vzhrspnm4sy9ggaz9n3bfl5hy3qlynr218j3mdcddzm3h00kqm";
|
|
};
|
|
|
|
preBuild = ''
|
|
makeFlags="PREFIX=$out ETCDIR=$out/etc"
|
|
'';
|
|
|
|
passthru.tests.babeld = nixosTests.babeld;
|
|
|
|
meta = {
|
|
homepage = "http://www.pps.univ-paris-diderot.fr/~jch/software/babel/";
|
|
description = "Loop-avoiding distance-vector routing protocol";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fpletz ];
|
|
platforms = with lib.platforms; linux;
|
|
};
|
|
}
|