1{ lib, stdenv, fetchurl, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 pname = "bridge-utils";
5 version = "1.7.1";
6
7 src = fetchurl {
8 url = "https://kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils-${version}.tar.xz";
9 sha256 = "sha256-ph2L5PGhQFxgyO841UTwwYwFszubB+W0sxAzU2Fl5g4=";
10 };
11
12 patches = [ ./autoconf-ar.patch ];
13
14 nativeBuildInputs = [ autoreconfHook ];
15
16 meta = {
17 description = "An userspace tool to configure linux bridges (deprecated in favour or iproute2).";
18 homepage = "https://wiki.linuxfoundation.org/networking/bridge";
19 license = lib.licenses.gpl2Plus;
20 platforms = lib.platforms.linux;
21 };
22}