mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
55 lines
1021 B
Nix
55 lines
1021 B
Nix
{
|
|
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;
|
|
};
|
|
}
|