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