mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 05:23:54 +00:00
Merge pull request #168955 from trofi/update-iproute2
iproute2: 5.14.0 -> 5.17.0
This commit is contained in:
commit
1331ece59e
@ -1,15 +1,16 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch
|
||||
, buildPackages, bison, flex, pkg-config
|
||||
, db, iptables, libelf, libmnl
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "iproute2";
|
||||
version = "5.14.0";
|
||||
version = "5.17.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/utils/net/${pname}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1m4ifnxq7lxnm95l5354z8dk3xj6w9isxmbz53266drgln2sf3r1";
|
||||
sha256 = "bjhPG0LHXhqdqsV4Zto33P+QkJC6huslpudk2niTZg4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -48,6 +49,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
# No nicer place to find latest release.
|
||||
url = "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://wiki.linuxfoundation.org/networking/iproute2";
|
||||
description = "A collection of utilities for controlling TCP/IP networking and traffic control in Linux";
|
||||
|
Loading…
Reference in New Issue
Block a user