mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
36 lines
724 B
Nix
36 lines
724 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, nixosTests
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "babeld";
|
|
version = "1.12.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz";
|
|
hash = "sha256-HbIrYZMHDqJFChq1EZb9cvWKEyn3gMsDiOLksud2jLs=";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
makeFlags = [
|
|
"PREFIX=${placeholder "out"}"
|
|
"ETCDIR=${placeholder "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; [ hexa ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|