mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
31 lines
788 B
Nix
31 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";
|
|
};
|
|
}
|
|
|