1 { lib, stdenv, fetchurl, autoreconfHook, fetchpatch }:
3 stdenv.mkDerivation rec {
4 pname = "bridge-utils";
8 url = "https://kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils-${version}.tar.xz";
9 sha256 = "sha256-ph2L5PGhQFxgyO841UTwwYwFszubB+W0sxAzU2Fl5g4=";
16 name = "musl-includes.patch";
17 url = "https://git.alpinelinux.org/aports/plain/main/bridge-utils/fix-PATH_MAX-on-ppc64le.patch?id=12c9046eee3a0a35665dc4e280c1f5ae2af5845d";
18 sha256 = "sha256-uY1tgJhcm1DFctg9scmC8e+mgowgz4f/oF0+k+x+jqw=";
22 nativeBuildInputs = [ autoreconfHook ];
25 description = "Userspace tool to configure linux bridges (deprecated in favour or iproute2)";
26 mainProgram = "brctl";
27 homepage = "https://wiki.linuxfoundation.org/networking/bridge";
28 license = lib.licenses.gpl2Plus;
29 platforms = lib.platforms.linux;