nixpkgs/pkgs/tools/networking/netifd/default.nix

24 lines
751 B
Nix
Raw Normal View History

{ lib, stdenv, cmake, fetchgit, libnl, libubox, uci, ubus, json_c, pkg-config }:
2020-02-12 02:02:34 +01:00
stdenv.mkDerivation {
pname = "netifd";
version = "unstable-2021-04-03";
2020-02-12 02:02:34 +01:00
src = fetchgit {
url = "https://git.openwrt.org/project/netifd.git";
rev = "327da9895327bc56b23413ee91a6e6b6e0e4329d";
sha256 = "0jvk2hx8kbkc6d72gh9rwap8ds6qgnmny6306vvzxy68v03xikwv";
2020-02-12 02:02:34 +01:00
};
buildInputs = [ libnl libubox uci ubus json_c ];
nativeBuildInputs = [ cmake pkg-config ];
2020-02-12 02:02:34 +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";
license = licenses.lgpl21Only;
2020-02-12 02:02:34 +01:00
platforms = platforms.linux;
maintainers = with maintainers; [ petabyteboy ];
};
}