mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
c092a502df
Only packages I'm not able to maintain anymore as of today. Mostly because I'm haven't been using them in a while.
26 lines
656 B
Nix
26 lines
656 B
Nix
{ lib, stdenv, fetchurl, nixosTests }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "babeld";
|
|
version = "1.12.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-mrWdesdB82MN8j+cO2fGApTYs0q2IjmPm4l3OoeOyx4=";
|
|
};
|
|
|
|
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; [ hexa ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|