Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
929 B
Nix
37 lines
929 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
libpulseaudio,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "flex-ndax";
|
|
version = "0.5-20250801.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kc2g-flex-tools";
|
|
repo = "nDAX";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-2yHv1FSikQuPamAwSzZB6+ZoblFoD/8Jnvhhv9OO+VY=";
|
|
};
|
|
|
|
buildInputs = [ libpulseaudio ];
|
|
|
|
vendorHash = "sha256-saQjN2G4mhS4XAxZbPnP2+F6n4pWw5bMNlcb8xEs11M=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
homepage = "https://github.com/kc2g-flex-tools/nDAX";
|
|
description = "FlexRadio digital audio transport (DAX) connector for PulseAudio";
|
|
changelog = "https://github.com/kc2g-flex-tools/nDAX/releases/tag/v${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ mvs ];
|
|
mainProgram = "nDAX";
|
|
};
|
|
})
|