Loading pkgs/by-name/si/sidplayfp/package.nix +15 −3 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ lib, fetchFromGitHub, gitUpdater, runCommand, testers, alsaSupport ? stdenv.hostPlatform.isLinux, alsa-lib, Loading @@ -10,6 +11,7 @@ pulseSupport ? stdenv.hostPlatform.isLinux, libpulseaudio, libsidplayfp, makeWrapper, out123Support ? stdenv.hostPlatform.isDarwin, mpg123, perl, Loading @@ -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; Loading Loading @@ -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"; Loading Loading
pkgs/by-name/si/sidplayfp/package.nix +15 −3 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ lib, fetchFromGitHub, gitUpdater, runCommand, testers, alsaSupport ? stdenv.hostPlatform.isLinux, alsa-lib, Loading @@ -10,6 +11,7 @@ pulseSupport ? stdenv.hostPlatform.isLinux, libpulseaudio, libsidplayfp, makeWrapper, out123Support ? stdenv.hostPlatform.isDarwin, mpg123, perl, Loading @@ -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; Loading Loading @@ -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"; Loading