depot/third_party/nixpkgs/pkgs/tools/networking/netifd/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

23 lines
739 B
Nix

{ lib, stdenv, cmake, fetchgit, libnl, libubox, uci, ubus, json_c, pkg-config }:
stdenv.mkDerivation {
pname = "netifd";
version = "unstable-2021-04-03";
src = fetchgit {
url = "https://git.openwrt.org/project/netifd.git";
rev = "327da9895327bc56b23413ee91a6e6b6e0e4329d";
sha256 = "0jvk2hx8kbkc6d72gh9rwap8ds6qgnmny6306vvzxy68v03xikwv";
};
buildInputs = [ libnl libubox uci ubus json_c ];
nativeBuildInputs = [ cmake pkg-config ];
meta = with lib; {
description = "OpenWrt Network interface configuration daemon";
homepage = "https://git.openwrt.org/?p=project/netifd.git;a=summary";
license = licenses.lgpl21Only;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}