depot/third_party/nixpkgs/pkgs/tools/audio/bark/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

30 lines
788 B
Nix

{ 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;
mainProgram = "bark";
};
}