Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: alsa-utils 0 -> 1 attrpath: alsa-utils 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/x4nyyigq78zlz6d0pclx9s8qx6d58lwm-packages.json.drv building '/nix/store/x4nyyigq78zlz6d0pclx9s8qx6d58lwm-packages.json.drv'... Going to be running update for following packages: - alsa-utils-1.2.15.2 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - alsa-utils-1.2.15.2: UPDATING ... - alsa-utils-1.2.15.2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/al/alsa-utils/package.nix b/pkgs/by-name/al/alsa-utils/package.nix index ff627a73cc83..e293ed8d10e7 100644 --- a/pkgs/by-name/al/alsa-utils/package.nix +++ b/pkgs/by-name/al/alsa-utils/package.nix @@ -32,11 +32,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "alsa-utils"; - version = "1.2.15.2"; + version = "1.2.16"; src = fetchurl { url = "mirror://alsa/utils/alsa-utils-${finalAttrs.version}.tar.bz2"; - hash = "sha256-eqqvv7AZQhE+wMMeUfcFkQ6BB5IFCIyi+PE3o4aeGjo="; + hash = "sha256-CSOZ1eh0mh1eGI45MVdSHOxLdWk7YOu3m7znKM/yIyw="; }; nativeBuildInputs = [ No auto update branch exists Old version 1.2.15.2" not present in staging derivation file with contents: { lib, stdenv, directoryListingUpdater, fetchurl, alsa-lib, alsa-plugins, gettext, makeWrapper, pkg-config, ncurses, libsamplerate, pciutils, procps, tree, which, fftwFloat, pipewire, withPipewireLib ? true, symlinkJoin, }: let plugin-packages = [ alsa-plugins ] ++ lib.optional withPipewireLib pipewire; # Create a directory containing symlinks of all ALSA plugins. # This is necessary because ALSA_PLUGIN_DIR must reference only one directory. plugin-dir = symlinkJoin { name = "all-plugins"; paths = map (path: "${path}/lib/alsa-lib") plugin-packages; }; in stdenv.mkDerivation (finalAttrs: { pname = "alsa-utils"; version = "1.2.16"; src = fetchurl { url = "mirror://alsa/utils/alsa-utils-${finalAttrs.version}.tar.bz2"; hash = "sha256-CSOZ1eh0mh1eGI45MVdSHOxLdWk7YOu3m7znKM/yIyw="; }; nativeBuildInputs = [ gettext makeWrapper pkg-config ]; buildInputs = [ alsa-lib ncurses libsamplerate fftwFloat ]; configureFlags = [ "--disable-xmlto" "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ]; installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ]; postFixup = '' mv $out/bin/alsa-info.sh $out/bin/alsa-info wrapProgram $out/bin/alsa-info --prefix PATH : "${ lib.makeBinPath [ which pciutils procps tree ] }" --prefix PATH : $out/bin for program in $out/bin/*; do wrapProgram "$program" --set-default ALSA_PLUGIN_DIR "${plugin-dir}" done ''; postInstall = '' # udev rules are super broken, violating `udevadm verify` in various creative ways. # NixOS has its own set of alsa udev rules, we can just delete the udev rules for this package rm -rf $out/lib/udev ''; passthru.updateScript = directoryListingUpdater { url = "https://www.alsa-project.org/files/pub/utils/"; }; meta = { homepage = "http://www.alsa-project.org/"; changelog = "https://github.com/alsa-project/alsa-utils/releases/tag/v${finalAttrs.version}"; description = "ALSA, the Advanced Linux Sound Architecture utils"; longDescription = '' The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux-based operating system. ''; license = with lib.licenses; [ gpl2Plus gpl2Only # alsactl (init_{parse,sysdeps,sysfs,utils_{run,string}}.c, rest GPL 2.0+) lgpl21Plus # alsaucm ]; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ nick-linux ]; }; })