While at it: - updated package description (and mention DEPRECATED upstream status) - switched to .xz tarball - dropped upstreamed patch - dropped explicit checks for build result as upstream fixed it.
23 lines
651 B
Nix
23 lines
651 B
Nix
{ lib, stdenv, fetchurl, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bridge-utils";
|
|
version = "1.7.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils-${version}.tar.xz";
|
|
sha256 = "sha256-ph2L5PGhQFxgyO841UTwwYwFszubB+W0sxAzU2Fl5g4=";
|
|
};
|
|
|
|
patches = [ ./autoconf-ar.patch ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = {
|
|
description = "An userspace tool to configure linux bridges (deprecated in favour or iproute2).";
|
|
homepage = "https://wiki.linuxfoundation.org/networking/bridge";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|