From 92115709f6b78ec7586b4a859a500a324f025269 Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 10 Mar 2024 02:35:10 +0000 Subject: [PATCH] blast-ugjka: init at 0.6.2 it works! at least, with the Sony TV, LG TV is detected but might need some finessing --- pkgs/additional/blast-ugjka/default.nix | 36 +++++++++++++++++++++++++ pkgs/default.nix | 1 + 2 files changed, 37 insertions(+) create mode 100644 pkgs/additional/blast-ugjka/default.nix diff --git a/pkgs/additional/blast-ugjka/default.nix b/pkgs/additional/blast-ugjka/default.nix new file mode 100644 index 000000000..25ba7ba35 --- /dev/null +++ b/pkgs/additional/blast-ugjka/default.nix @@ -0,0 +1,36 @@ +{ buildGoModule +, fetchFromGitHub +, lib +, makeWrapper +, pulseaudio +}: +buildGoModule rec { + pname = "blast-ugjka"; + version = "0.6.2"; + + src = fetchFromGitHub { + owner = "ugjka"; + repo = "blast"; + rev = "v${version}"; + hash = "sha256-Y9Jj+UrrsyRfihHAdC354jb1385xqLIufB0DoikrXYM="; + }; + + vendorHash = "sha256-yPwLilMiDR1aSeuk8AEmuYPsHPRWqiByGLwgkdI5t+s="; + + nativeBuildInputs = [ + makeWrapper + ]; + + postInstall = '' + wrapProgram $out/bin/blast \ + --suffix PATH : ${lib.makeBinPath [ pulseaudio ]} + ''; + + meta = with lib; { + description = "blast your linux audio to DLNA receivers"; + # license = licenses.mit; # MIT + NoAI + homepage = src.homepage; + maintainers = with maintainers; [ colinsane ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix index 527a92ec0..fcbe963da 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -20,6 +20,7 @@ let sane-lib = import ../modules/lib final'; ### ADDITIONAL PACKAGES + blast-ugjka = callPackage ./additional/blast-ugjka { }; bootpart-uefi-x86_64 = callPackage ./additional/bootpart-uefi-x86_64 { }; cargoDocsetHook = callPackage ./additional/cargo-docset/hook.nix { }; chatty-latest = callPackage ./additional/chatty-latest { };