2013-05-28 22:02:22 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
let
|
2015-01-17 22:58:23 +00:00
|
|
|
ver = "2014.4.0";
|
2013-05-28 22:02:22 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "batctl-${ver}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${ver}/${name}.tar.gz";
|
2015-01-17 22:58:23 +00:00
|
|
|
sha256 = "4deae3b6664d0d13acf7a8ece74175a31a72fe58fb15cb9112a9a2014b32cb4c";
|
2013-05-28 22:02:22 +01: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";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-05-28 22:02:22 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|