mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
34 lines
605 B
Nix
34 lines
605 B
Nix
|
{ lib
|
||
|
, stdenv
|
||
|
, fetchFromGitHub
|
||
|
, cmake
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "oonf-olsrd2";
|
||
|
version = "0.15.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "OLSR";
|
||
|
repo = "OONF";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-7EH2K7gaBGD95WFlG6RRhKEWJm91Xv2GOHYQjZWuzl0=";
|
||
|
};
|
||
|
|
||
|
cmakeFlags = [
|
||
|
"-DOONF_NO_WERROR=yes"
|
||
|
];
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
cmake
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "An adhoc wireless mesh routing daemon";
|
||
|
license = licenses.bsd3;
|
||
|
homepage = "http://olsr.org/";
|
||
|
maintainers = with maintainers; [ mkg20001 ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|