Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: libxpm 0 -> 1 attrpath: libxpm 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/86m7qaz4w9ac6cfzrzpz3iypdfabzlqz-update-libxpm.drv /nix/store/y97680m3zkanrznzird1i9ylc3qji8kg-packages.json.drv building '/nix/store/86m7qaz4w9ac6cfzrzpz3iypdfabzlqz-update-libxpm.drv'... building '/nix/store/y97680m3zkanrznzird1i9ylc3qji8kg-packages.json.drv'... Going to be running update for following packages: - libxpm-3.5.17 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - libxpm-3.5.17: UPDATING ... - libxpm-3.5.17: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/li/libxpm/package.nix b/pkgs/by-name/li/libxpm/package.nix index 8ffd2d3fd203..2fa6270c2155 100644 --- a/pkgs/by-name/li/libxpm/package.nix +++ b/pkgs/by-name/li/libxpm/package.nix @@ -15,7 +15,7 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "libxpm"; - version = "3.5.17"; + version = "3.5.18"; outputs = [ "bin" @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://xorg/individual/lib/libXpm-${finalAttrs.version}.tar.xz"; - hash = "sha256-ZLMfgQGefTiMgisLKK+NUcRiK4Px8Mtvo/yV4nEibkM="; + hash = "sha256-tO15v8cYAA7e6DfVUcNShvC4RXbbDOB7u+vmCkr/oeQ="; }; strictDeps = true; No auto update branch exists Old version 3.5.17" not present in staging derivation file with contents: { lib, stdenv, fetchurl, pkg-config, gettext, xorgproto, libx11, libxext, libxt, ncompress, gzip, writeScript, testers, }: stdenv.mkDerivation (finalAttrs: { pname = "libxpm"; version = "3.5.18"; outputs = [ "bin" "dev" "out" ]; src = fetchurl { url = "mirror://xorg/individual/lib/libXpm-${finalAttrs.version}.tar.xz"; hash = "sha256-tO15v8cYAA7e6DfVUcNShvC4RXbbDOB7u+vmCkr/oeQ="; }; strictDeps = true; nativeBuildInputs = [ pkg-config gettext ]; buildInputs = [ xorgproto libx11 libxext libxt ]; propagatedBuildInputs = [ libx11 ]; env = { XPM_PATH_COMPRESS = lib.makeBinPath [ ncompress ]; XPM_PATH_GZIP = lib.makeBinPath [ gzip ]; XPM_PATH_UNCOMPRESS = lib.makeBinPath [ gzip ]; }; passthru = { updateScript = writeScript "update-${finalAttrs.pname}" '' #!/usr/bin/env nix-shell #!nix-shell -i bash -p common-updater-scripts version="$(list-directory-versions --pname libXpm \ --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 = { description = "X Pixmap (XPM) image file format library"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxpm"; license = with lib.licenses; [ x11 mit ]; mainProgram = "sxpm"; maintainers = [ ]; pkgConfigModules = [ "xpm" ]; platforms = lib.platforms.unix; }; })