26 lines
643 B
Nix
26 lines
643 B
Nix
|
{stdenv, fetchurl}:
|
||
|
|
||
|
let
|
||
|
ver = "2013.2.0";
|
||
|
in
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "batctl-${ver}";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "http://downloads.open-mesh.org/batman/releases/batman-adv-${ver}/${name}.tar.gz";
|
||
|
sha1 = "0ba6520c813c9dd2e59e6205e8ea2e60a0c85f52";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|