Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: libmpg123 0 -> 1 attrpath: libmpg123 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/0bgfkh5bnmicm86xfk7s9p0jbrbhzvhg-update-mpg123.drv /nix/store/20zlb5bhkb2ilrksrck5v21nwwyla6vf-packages.json.drv building '/nix/store/0bgfkh5bnmicm86xfk7s9p0jbrbhzvhg-update-mpg123.drv'... building '/nix/store/20zlb5bhkb2ilrksrck5v21nwwyla6vf-packages.json.drv'... Going to be running update for following packages: - libmpg123-1.33.5 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - libmpg123-1.33.5: UPDATING ... - libmpg123-1.33.5: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/mp/mpg123/package.nix b/pkgs/by-name/mp/mpg123/package.nix index b216a5368895..ba833af09dc8 100644 --- a/pkgs/by-name/mp/mpg123/package.nix +++ b/pkgs/by-name/mp/mpg123/package.nix @@ -21,11 +21,11 @@ assert withConplay -> !libOnly; stdenv.mkDerivation (finalAttrs: { pname = "${lib.optionalString libOnly "lib"}mpg123"; - version = "1.33.5"; + version = "1.33.6"; src = fetchurl { url = "mirror://sourceforge/mpg123/mpg123-${finalAttrs.version}.tar.bz2"; - hash = "sha256-DX68jaCv88o4PIxrWmrb5ALuW7JWaFuMVJnzpzn51t0="; + hash = "sha256-kpp8GLpmK4knrtTeIprZroqytIBt0PMLkBE+sbTiGVo="; }; outputs = [ An auto update branch exists with message `libmpg123: 1.33.4 -> 1.33.5`. New version is 1.33.6. The auto update branch does not match or exceed the new version. Old version 1.33.5" not present in staging derivation file with contents: { lib, stdenv, fetchurl, makeWrapper, pkg-config, libOnly ? false, # whether to build only the library withAlsa ? stdenv.hostPlatform.isLinux, alsa-lib, withPulse ? stdenv.hostPlatform.isLinux, libpulseaudio, withCoreAudio ? stdenv.hostPlatform.isDarwin, withJack ? stdenv.hostPlatform.isUnix, libjack2, withConplay ? !stdenv.hostPlatform.isWindows, perl, writeScript, }: assert withConplay -> !libOnly; stdenv.mkDerivation (finalAttrs: { pname = "${lib.optionalString libOnly "lib"}mpg123"; version = "1.33.6"; src = fetchurl { url = "mirror://sourceforge/mpg123/mpg123-${finalAttrs.version}.tar.bz2"; hash = "sha256-kpp8GLpmK4knrtTeIprZroqytIBt0PMLkBE+sbTiGVo="; }; outputs = [ "out" "dev" "man" ] ++ lib.optional withConplay "conplay"; nativeBuildInputs = lib.optionals (!libOnly) ( lib.optionals withConplay [ makeWrapper ] ++ lib.optionals (withPulse || withJack) [ pkg-config ] ); buildInputs = lib.optionals (!libOnly) ( lib.optionals withConplay [ perl ] ++ lib.optionals withAlsa [ alsa-lib ] ++ lib.optionals withPulse [ libpulseaudio ] ++ lib.optionals withCoreAudio [ ] ++ lib.optionals withJack [ libjack2 ] ); configureFlags = lib.optionals (!libOnly) [ "--with-audio=${ lib.strings.concatStringsSep "," ( lib.optional withJack "jack" ++ lib.optional withPulse "pulse" ++ lib.optional withAlsa "alsa" ++ lib.optional withCoreAudio "coreaudio" ++ [ "dummy" ] ) }" ] ++ lib.optional (stdenv.hostPlatform ? mpg123) "--with-cpu=${stdenv.hostPlatform.mpg123.cpu}"; enableParallelBuilding = true; postInstall = lib.optionalString withConplay '' mkdir -p $conplay/bin mv scripts/conplay $conplay/bin/ ''; preFixup = lib.optionalString withConplay '' patchShebangs $conplay/bin/conplay ''; postFixup = lib.optionalString withConplay '' wrapProgram $conplay/bin/conplay \ --prefix PATH : $out/bin ''; passthru = { updateScript = writeScript "update-mpg123" '' #!/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 '' new_version="$(curl -s https://mpg123.org/download.shtml | pcregrep -o1 '')" update-source-version ${finalAttrs.pname} "$new_version" ''; }; meta = { description = "Fast console MPEG Audio Player and decoder library"; homepage = "https://mpg123.org"; license = lib.licenses.lgpl21Only; maintainers = [ ]; platforms = lib.platforms.all; }; })