From 8f506f4de0ebb2d7a097851ba5b448491e00c2a3 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Thu, 19 Aug 2021 00:47:33 +0200 Subject: [PATCH] ethtool: 5.4 -> 5.13 --- pkgs/tools/misc/ethtool/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/ethtool/default.nix b/pkgs/tools/misc/ethtool/default.nix index 4b6d7cc9332e..9457507458d8 100644 --- a/pkgs/tools/misc/ethtool/default.nix +++ b/pkgs/tools/misc/ethtool/default.nix @@ -1,14 +1,17 @@ -{ lib, stdenv, fetchurl }: +{ lib, stdenv, fetchurl, pkg-config, libmnl }: stdenv.mkDerivation rec { pname = "ethtool"; - version = "5.4"; + version = "5.13"; src = fetchurl { url = "mirror://kernel/software/network/${pname}/${pname}-${version}.tar.xz"; - sha256 = "0srbqp4a3x9ryrbm5q854375y04ni8j0bmsrl89nmsyn4x4ixy12"; + sha256 = "1wwcwiav0fbl75axmx8wms4xfdp1ji5c7j49k4yl8bngqra74fp6"; }; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ libmnl ]; + meta = with lib; { description = "Utility for controlling network drivers and hardware"; homepage = "https://www.kernel.org/pub/software/network/ethtool/";