2013-05-28 23:02:22 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
let
|
2013-12-18 13:18:58 +01:00
|
|
|
ver = "2013.4.0";
|
2013-05-28 23:02:22 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "batctl-${ver}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${ver}/${name}.tar.gz";
|
2013-12-18 13:18:58 +01:00
|
|
|
sha256 = "0k6b695h38m92a8wn5gvb3z746m3fm0ygv58yyn163adcsvf7sjd";
|
2013-05-28 23:02:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlags=PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.open-mesh.org/projects/batman-adv/wiki/Wiki;
|
|
|
|
description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, control tool";
|
|
|
|
license = "GPLv2";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|