forked from mirrors/nixpkgs
96931b60e9
Co-authored-by: legendofmiracles <30902201+legendofmiracles@users.noreply.github.com>
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;
|
|
};
|
|
}
|