Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: libcdio 2.3.0 -> 2.4.0 https://github.com/libcdio/libcdio-C/releases attrpath: libcdio 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/n90m13131jigacdsbvh8q1pgs6a56km6-packages.json.drv building '/nix/store/n90m13131jigacdsbvh8q1pgs6a56km6-packages.json.drv'... Going to be running update for following packages: - libcdio-2.3.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - libcdio-2.3.0: UPDATING ... - libcdio-2.3.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/li/libcdio/package.nix b/pkgs/by-name/li/libcdio/package.nix index ef532bcad4eb..0585350e0582 100644 --- a/pkgs/by-name/li/libcdio/package.nix +++ b/pkgs/by-name/li/libcdio/package.nix @@ -16,13 +16,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "libcdio"; - version = "2.3.0"; + version = "2.4.0"; src = fetchFromGitHub { owner = "libcdio"; repo = "libcdio-C"; tag = finalAttrs.version; - hash = "sha256-NZj6sMIhBORh2ZBs/WGI4BYri1REog4ovUug1t5p8Y8="; + hash = "sha256-BzV86qnIOvhTJiNZ54zW1u3oXhDyNMsIKDdfNGBWLes="; }; env = lib.optionalAttrs stdenv.hostPlatform.is32bit { No auto update branch exists Old version 2.3.0" not present in staging derivation file with contents: { lib, stdenv, fetchFromGitHub, nix-update-script, autoreconfHook, testers, texinfo, libcddb, pkg-config, ncurses, help2man, libiconv, withMan ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, }: stdenv.mkDerivation (finalAttrs: { pname = "libcdio"; version = "2.4.0"; src = fetchFromGitHub { owner = "libcdio"; repo = "libcdio-C"; tag = finalAttrs.version; hash = "sha256-BzV86qnIOvhTJiNZ54zW1u3oXhDyNMsIKDdfNGBWLes="; }; env = lib.optionalAttrs stdenv.hostPlatform.is32bit { NIX_CFLAGS_COMPILE = "-D_LARGEFILE64_SOURCE"; }; postPatch = '' patchShebangs . echo " @set UPDATED 1 January 1970 @set UPDATED-MONTH January 1970 @set EDITION ${finalAttrs.version} @set VERSION ${finalAttrs.version} " > doc/version.texi '' + lib.optionalString (!withMan) '' substituteInPlace src/Makefile.am \ --replace-fail 'man_cd_drive = cd-drive.1' "" \ --replace-fail 'man_cd_info = cd-info.1' "" \ --replace-fail 'man_cd_read = cd-read.1' "" \ --replace-fail 'man_iso_info = iso-info.1' "" \ --replace-fail 'man_iso_read = iso-read.1' "" ''; configureFlags = [ (lib.enableFeature withMan "maintainer-mode") "CFLAGS=-std=gnu17" ]; # autoconf 2.73's AM_ICONV "working iconv" runtime probe reports "no" on # Darwin's libiconv; skip it via the cache variable. Refs #511329. preConfigure = '' export am_cv_func_iconv_works=yes ''; nativeBuildInputs = [ pkg-config autoreconfHook texinfo ] ++ lib.optionals withMan [ help2man ]; buildInputs = [ libcddb libiconv ncurses ]; enableParallelBuilding = true; doCheck = !stdenv.hostPlatform.isDarwin; outputs = [ "out" "lib" "dev" "info" ] ++ lib.optionals withMan [ "man" ]; passthru = { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; updateScript = nix-update-script { }; }; meta = { description = "Library for OS-independent CD-ROM and CD image access"; longDescription = '' GNU libcdio is a library for OS-independent CD-ROM and CD image access. It includes a library for working with ISO-9660 filesystems (libiso9660), as well as utility programs such as an audio CD player and an extractor. ''; homepage = "https://www.gnu.org/software/libcdio/"; license = lib.licenses.gpl2Plus; pkgConfigModules = [ "libcdio" "libcdio++" "libiso9660" "libiso9660++" "libudf" ]; platforms = lib.platforms.unix; }; })