3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/netifd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
739 B
Nix
Raw Normal View History

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