Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: libxfont_2 0 -> 1 attrpath: libxfont_2 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/q4cc3yj6ks8wxigvszbax1hb3amwfxwn-update-libxfont_2.drv /nix/store/n7qsq1aazk637y79brhr16v00gsm1ivr-packages.json.drv building '/nix/store/q4cc3yj6ks8wxigvszbax1hb3amwfxwn-update-libxfont_2.drv'... building '/nix/store/n7qsq1aazk637y79brhr16v00gsm1ivr-packages.json.drv'... Going to be running update for following packages: - libxfont_2-2.0.7 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - libxfont_2-2.0.7: UPDATING ... - libxfont_2-2.0.7: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/li/libxfont_2/package.nix b/pkgs/by-name/li/libxfont_2/package.nix index 9f1dbea7359e..0156515019d1 100644 --- a/pkgs/by-name/li/libxfont_2/package.nix +++ b/pkgs/by-name/li/libxfont_2/package.nix @@ -15,7 +15,7 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "libxfont_2"; - version = "2.0.7"; + version = "2.0.8"; outputs = [ "out" @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://xorg/individual/lib/libXfont2-${finalAttrs.version}.tar.xz"; - hash = "sha256-i3uC/eukh2m2lDPo4/u5hKX2vzaLDV9Hq+7EnePljvs="; + hash = "sha256-9VbA4Qk6TmkRzJC8SxBtIBkC7hh/10ryBv8WL35qJNU="; }; strictDeps = true; No auto update branch exists Old version 2.0.7" not present in staging derivation file with contents: { lib, stdenv, fetchurl, pkg-config, libfontenc, xorgproto, freetype, xtrans, zlib, writeScript, testers, # for inheriting the meta attributes libxfont_1, }: stdenv.mkDerivation (finalAttrs: { pname = "libxfont_2"; version = "2.0.8"; outputs = [ "out" "dev" ]; src = fetchurl { url = "mirror://xorg/individual/lib/libXfont2-${finalAttrs.version}.tar.xz"; hash = "sha256-9VbA4Qk6TmkRzJC8SxBtIBkC7hh/10ryBv8WL35qJNU="; }; strictDeps = true; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libfontenc xorgproto freetype xtrans zlib ]; propagatedBuildInputs = [ xorgproto ]; passthru = { updateScript = writeScript "update-${finalAttrs.pname}" '' #!/usr/bin/env nix-shell #!nix-shell -i bash -p common-updater-scripts version="$(list-directory-versions --pname libXfont2 \ --url https://xorg.freedesktop.org/releases/individual/lib/ \ | sort -V | tail -n1)" update-source-version ${finalAttrs.pname} "$version" ''; tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; meta = { inherit (libxfont_1.meta) description homepage license; maintainers = [ ]; pkgConfigModules = [ "xfont2" ]; platforms = lib.platforms.unix; }; })