Skip to content

Commit

Permalink
asha-pipewire-sink: init at 0-unstable-2024-10-22
Browse files Browse the repository at this point in the history
  • Loading branch information
onny committed Dec 26, 2024
1 parent 1557114 commit 7497183
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions pkgs/by-name/as/asha-pipewire-sink/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
cmake,
stdenv,
fetchFromGitHub,
lib,
pkg-config,
pipewire,
bluez,
glib,
}:

stdenv.mkDerivation rec {
pname = "asha-pipewire-sink";
version = "0-unstable-2024-10-22";

src = fetchFromGitHub {
owner = "thewierdnut";
repo = "asha_pipewire_sink";
rev = "bbf665b9a3b90fcdbaeb092799ea3c5ba4347e31";
hash = "sha256-PuJ6lBV7s5OqGe1X4wD7T+8LVMCFpgvM1pnMjXYr8gs=";
};

nativeBuildInputs = [
cmake
pkg-config
];

buildInputs = [
bluez.dev
glib.dev
pipewire.dev
];

installPhase = ''
install -Dm755 asha_connection_test snoop_analyze asha_stream_test asha_pipewire_sink -t $out/bin
'';

meta = {
description = "Sample ASHA implementation for Linux designed to work with pipewire and bluez";
homepage = "https://github.com/thewierdnut/asha_pipewire_sink";
license = lib.licenses.unlicense;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ onny ];
mainProgram = "asha_pipewire_sink";
};
}

0 comments on commit 7497183

Please sign in to comment.