Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: imlib2 0 -> 1 attrpath: imlib2 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] this derivation will be built: /nix/store/xp06f0min6lp6p7iyvsll7qyz9ihglky-packages.json.drv building '/nix/store/xp06f0min6lp6p7iyvsll7qyz9ihglky-packages.json.drv'... structuredAttrs is enabled Going to be running update for following packages: - imlib2-1.12.6 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - imlib2-1.12.6: UPDATING ... - imlib2-1.12.6: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/im/imlib2/package.nix b/pkgs/by-name/im/imlib2/package.nix index 716707df70ab..e6b46cbfa541 100644 --- a/pkgs/by-name/im/imlib2/package.nix +++ b/pkgs/by-name/im/imlib2/package.nix @@ -44,11 +44,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "imlib2"; - version = "1.12.6"; + version = "1.12.7"; src = fetchurl { url = "mirror://sourceforge/enlightenment/imlib2-${finalAttrs.version}.tar.xz"; - hash = "sha256-JQ+XUvadxSLlKagaqpOVcF9/wxL/JFPl3lmsK6HyhY8="; + hash = "sha256-1x7lNRzBkU+wGWgSPQ3PJ2dA5a9WYpQ6xHrmDK+k0Ts="; }; buildInputs = [ No auto update branch exists Old version 1.12.6" not present in staging derivation file with contents: { lib, stdenv, fetchurl, # Image file formats libjpeg, libtiff, giflib, libpng, libwebp, libjxl, libspectre, # imlib2 can load images from ID3 tags. libid3tag, librsvg, libheif, freetype, bzip2, pkg-config, x11Support ? true, webpSupport ? true, svgSupport ? false, heifSupport ? false, jxlSupport ? false, psSupport ? false, # for passthru.tests libcaca, diffoscopeMinimal, feh, icewm, openbox, fluxbox, enlightenment, libxft, libxext, testers, gitUpdater, }: let inherit (lib) optional optionals; in stdenv.mkDerivation (finalAttrs: { pname = "imlib2"; version = "1.12.7"; src = fetchurl { url = "mirror://sourceforge/enlightenment/imlib2-${finalAttrs.version}.tar.xz"; hash = "sha256-1x7lNRzBkU+wGWgSPQ3PJ2dA5a9WYpQ6xHrmDK+k0Ts="; }; buildInputs = [ libjpeg libtiff giflib libpng bzip2 freetype libid3tag ] ++ optionals x11Support [ libxft libxext ] ++ optional heifSupport libheif ++ optional svgSupport librsvg ++ optional webpSupport libwebp ++ optional jxlSupport libjxl ++ optional psSupport libspectre; nativeBuildInputs = [ pkg-config ]; enableParallelBuilding = true; # Do not build amd64 assembly code on Darwin, because it fails to compile # with unknown directive errors configureFlags = optional stdenv.hostPlatform.isDarwin "--enable-amd64=no" ++ optional (!svgSupport) "--without-svg" ++ optional (!heifSupport) "--without-heif" ++ optional (!x11Support) "--without-x"; outputs = [ "bin" "out" "dev" ]; passthru = { tests = { inherit libcaca diffoscopeMinimal feh icewm openbox fluxbox enlightenment ; pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; updateScript = gitUpdater { # No nicer place to find latest release. url = "https://git.enlightenment.org/old/legacy-imlib2.git"; rev-prefix = "v"; }; }; meta = { description = "Image manipulation library"; longDescription = '' This is the Imlib 2 library - a library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support, etc. It does ALL of these operations FAST. Imlib2 also tries to be highly intelligent about doing them, so writing naive programs can be done easily, without sacrificing speed. ''; homepage = "https://docs.enlightenment.org/api/imlib2/html"; changelog = "https://git.enlightenment.org/old/legacy-imlib2/raw/tag/v${finalAttrs.version}/ChangeLog"; license = lib.licenses.imlib2; pkgConfigModules = [ "imlib2" ]; platforms = lib.platforms.unix; maintainers = [ ]; }; })