sidplayfp: 2.16.1 -> 2.16.2 (#493845)

This commit is contained in:
Cosima Neidahl
2026-03-06 12:15:00 +00:00
committed by GitHub
+15 -3
View File
@@ -3,6 +3,7 @@
lib,
fetchFromGitHub,
gitUpdater,
runCommand,
testers,
alsaSupport ? stdenv.hostPlatform.isLinux,
alsa-lib,
@@ -10,6 +11,7 @@
pulseSupport ? stdenv.hostPlatform.isLinux,
libpulseaudio,
libsidplayfp,
makeWrapper,
out123Support ? stdenv.hostPlatform.isDarwin,
mpg123,
perl,
@@ -18,13 +20,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "sidplayfp";
version = "2.16.1";
version = "2.16.2";
src = fetchFromGitHub {
owner = "libsidplayfp";
repo = "sidplayfp";
tag = "v${finalAttrs.version}";
hash = "sha256-W9RuAUlnMMG/ihUxM5wvFDJz0x+6Syk+8ux+dx0Bnw8=";
hash = "sha256-zvV1BIKkJF/UAZnSgHFqNSiioUH5iB8I7SDqnWQnGj0=";
};
strictDeps = true;
@@ -56,7 +58,17 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
package =
# sidplayfp prints its own version + libsidplayfp version, lets isolate just the one we care about
runCommand "sidplayfp-print-version"
{
inherit (finalAttrs.finalPackage) pname version meta;
nativeBuildInputs = [ makeWrapper ];
}
''
makeWrapper ${lib.getExe finalAttrs.finalPackage} $out/bin/${finalAttrs.finalPackage.meta.mainProgram} \
--append-flags '| head -n1'
'';
};
updateScript = gitUpdater {
rev-prefix = "v";