sonusmix: init at 0.1.1 (#350992)

This commit is contained in:
Aleksana 2024-10-28 11:45:37 +08:00 committed by GitHub
commit 063efeea25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2074 additions and 0 deletions

2020
pkgs/by-name/so/sonusmix/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,54 @@
{
lib,
rustPlatform,
fetchFromGitea,
pkg-config,
glib,
gtk4,
pipewire,
dbus,
wrapGAppsHook4,
autoPatchelfHook,
}:
rustPlatform.buildRustPackage rec {
pname = "sonusmix";
version = "0.1.1";
doCheck = false;
src = fetchFromGitea {
domain = "codeberg.org";
owner = "sonusmix";
repo = "sonusmix";
rev = "v${version}";
hash = "sha256-vqbYJuErghSsvkFccLFUYuf1Dsg17tCBhF4/NLcba/E=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"libspa-0.8.0" = "sha256-R68TkFbzDFA/8Btcar+0omUErLyBMm4fsmQlCvfqR9o=";
};
};
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
wrapGAppsHook4
autoPatchelfHook
];
buildInputs = [
glib
gtk4
pipewire
dbus
];
meta = {
description = "Next-gen Pipewire audio routing tool";
homepage = "https://codeberg.org/sonusmix/sonusmix";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ aucub ];
platforms = lib.platforms.linux;
};
}