mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
26 lines
662 B
Nix
26 lines
662 B
Nix
{ lib, stdenv, fetchurl, nixosTests }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "babeld";
|
|
version = "1.10";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz";
|
|
sha256 = "1sld5bbig2pkcr4zrdpvfzifc6a3lc8i8kdzk5ryjh166844mxd5";
|
|
};
|
|
|
|
preBuild = ''
|
|
makeFlags="PREFIX=$out ETCDIR=$out/etc"
|
|
'';
|
|
|
|
passthru.tests.babeld = nixosTests.babeld;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://www.irif.fr/~jch/software/babel/";
|
|
description = "Loop-avoiding distance-vector routing protocol";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fpletz hexa ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|