2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, cmake, fetchgit, libnl, libubox, uci, ubus, json_c, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "netifd";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "unstable-2021-04-03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.openwrt.org/project/netifd.git";
|
2021-06-28 23:13:55 +00:00
|
|
|
rev = "327da9895327bc56b23413ee91a6e6b6e0e4329d";
|
|
|
|
sha256 = "0jvk2hx8kbkc6d72gh9rwap8ds6qgnmny6306vvzxy68v03xikwv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libnl libubox uci ubus json_c ];
|
2021-06-28 23:13:55 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "OpenWrt Network interface configuration daemon";
|
|
|
|
homepage = "https://git.openwrt.org/?p=project/netifd.git;a=summary";
|
2021-06-28 23:13:55 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|