2021-06-10 08:32:50 +01:00
|
|
|
{ lib, stdenv, cmake, fetchgit, libnl, libubox, uci, ubus, json_c, pkg-config }:
|
2020-02-12 01:02:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "netifd";
|
2021-06-10 08:32:50 +01:00
|
|
|
version = "unstable-2021-04-03";
|
2020-02-12 01:02:34 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.openwrt.org/project/netifd.git";
|
2021-06-10 08:32:50 +01:00
|
|
|
rev = "327da9895327bc56b23413ee91a6e6b6e0e4329d";
|
|
|
|
sha256 = "0jvk2hx8kbkc6d72gh9rwap8ds6qgnmny6306vvzxy68v03xikwv";
|
2020-02-12 01:02:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libnl libubox uci ubus json_c ];
|
2021-06-10 08:32:50 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-02-12 01:02:34 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-02-12 01:02:34 +00:00
|
|
|
description = "OpenWrt Network interface configuration daemon";
|
|
|
|
homepage = "https://git.openwrt.org/?p=project/netifd.git;a=summary";
|
2021-06-10 08:32:50 +01:00
|
|
|
license = licenses.lgpl21Only;
|
2020-02-12 01:02:34 +00:00
|
|
|
platforms = platforms.linux;
|
2022-06-22 23:51:46 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-02-12 01:02:34 +00:00
|
|
|
};
|
|
|
|
}
|