nixpkgs/pkgs/tools/networking/babeld/default.nix

26 lines
715 B
Nix
Raw Normal View History

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