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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
662 B
Nix
Raw Normal View History

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