2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, alsa-lib
|
|
|
|
, speexdsp
|
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
pname = "bark";
|
|
|
|
version = "unstable-2023-08-22";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "haileys";
|
|
|
|
repo = "bark";
|
|
|
|
rev = "2586b9fb58b496f8ef06f516c9cd3aace77521f7";
|
|
|
|
hash = "sha256-sGroae6uJhB9UIpFmvt520Zs9k0ir7H8pGkhKJmVWek=";
|
|
|
|
};
|
|
|
|
cargoHash = "sha256-OjlVn4fvKPm3UfqhKkv7cDuvK4mcLcQXPNPK+WScrMc=";
|
|
|
|
buildInputs = [ alsa-lib speexdsp ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Live sync audio streaming for local networks";
|
|
|
|
homepage = "https://github.com/haileys/bark";
|
|
|
|
license = lib.licenses.agpl3Only;
|
|
|
|
maintainers = with lib.maintainers; [ samw ];
|
|
|
|
platforms = lib.platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "bark";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|