alsa-firmware: provide update script

This commit is contained in:
Mikael Voss 2025-07-24 16:15:15 +02:00
parent 4095abd64e
commit fb25d73b02
No known key found for this signature in database

View File

@ -5,6 +5,7 @@
autoreconfHook, autoreconfHook,
fetchurl, fetchurl,
fetchpatch, fetchpatch,
directoryListingUpdater,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -47,6 +48,10 @@ stdenv.mkDerivation (finalAttrs: {
rm -rf $out/bin rm -rf $out/bin
''; '';
passthru.updateScript = directoryListingUpdater {
url = "https://alsa-project.org/files/pub/firmware/";
};
meta = { meta = {
homepage = "http://www.alsa-project.org/"; homepage = "http://www.alsa-project.org/";
description = "Soundcard firmwares from the alsa project"; description = "Soundcard firmwares from the alsa project";