depot/pkgs/by-name/so/sonusmix/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

54 lines
1,021 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;
};
}