Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: ethtool 0 -> 1 attrpath: ethtool Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] these 2 derivations will be built: /nix/store/4ppwiam4fyla522w5sfj1c0j3fqai8hk-update-ethtool.drv /nix/store/nf69b43436fxj3f9zw2cdsq8js7arrgg-packages.json.drv building '/nix/store/4ppwiam4fyla522w5sfj1c0j3fqai8hk-update-ethtool.drv'... building '/nix/store/nf69b43436fxj3f9zw2cdsq8js7arrgg-packages.json.drv'... Going to be running update for following packages: - ethtool-6.15 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - ethtool-6.15: UPDATING ... - ethtool-6.15: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/et/ethtool/package.nix b/pkgs/by-name/et/ethtool/package.nix index cdb6ad61e124..ccaed2c7e885 100644 --- a/pkgs/by-name/et/ethtool/package.nix +++ b/pkgs/by-name/et/ethtool/package.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "ethtool"; - version = "6.15"; + version = "6.19"; src = fetchurl { url = "mirror://kernel/software/network/ethtool/ethtool-${finalAttrs.version}.tar.xz"; - hash = "sha256-lHfDZRFNkQEgquxTNqHRYZbIM9hIb3xtpnvt71eICt4="; + hash = "sha256-HCEUq24MDSqmfWmZYOsR3080HiQDE5zfKK6dqFimAl8="; }; nativeBuildInputs = [ No auto update branch exists Old version 6.15" not present in staging derivation file with contents: { lib, stdenv, fetchurl, libmnl, pkg-config, writeScript, }: stdenv.mkDerivation (finalAttrs: { pname = "ethtool"; version = "6.19"; src = fetchurl { url = "mirror://kernel/software/network/ethtool/ethtool-${finalAttrs.version}.tar.xz"; hash = "sha256-HCEUq24MDSqmfWmZYOsR3080HiQDE5zfKK6dqFimAl8="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libmnl ]; enableParallelBuilding = true; passthru = { updateScript = writeScript "update-ethtool" '' #!/usr/bin/env nix-shell #!nix-shell -i bash -p curl pcre common-updater-scripts set -eu -o pipefail # Expect the text in format of '...' # The page always lists versions newest to oldest. Pick the first one. new_version="$(curl -s https://mirrors.edge.kernel.org/pub/software/network/ethtool/ | pcregrep -o1 '' | head -n1)" update-source-version ethtool "$new_version" ''; }; meta = { description = "Utility for controlling network drivers and hardware"; homepage = "https://www.kernel.org/pub/software/network/ethtool/"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ bjornfor ]; mainProgram = "ethtool"; }; })