From 158bfaf735401219af77573e80c2892cdfc02ac4 Mon Sep 17 00:00:00 2001 From: Thomas Sowell Date: Wed, 28 May 2025 18:44:11 -0800 Subject: [PATCH] wiremix: init at 0.4.0 --- pkgs/by-name/wi/wiremix/package.nix | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/wi/wiremix/package.nix diff --git a/pkgs/by-name/wi/wiremix/package.nix b/pkgs/by-name/wi/wiremix/package.nix new file mode 100644 index 000000000000..92f040b05e59 --- /dev/null +++ b/pkgs/by-name/wi/wiremix/package.nix @@ -0,0 +1,38 @@ +{ + lib, + fetchCrate, + rustPlatform, + pkg-config, + pipewire, +}: + +rustPlatform.buildRustPackage rec { + pname = "wiremix"; + version = "0.4.0"; + + src = fetchCrate { + inherit pname version; + hash = "sha256-LtwKG3phUuNgwXlAJMhZkOenYHGyXGRhNcr6+WKxVz0="; + }; + + useFetchCargoVendor = true; + cargoHash = "sha256-Qc+VubikiYox1zqy2HO3InRI8aFT8AorrFZBQhNGFOQ="; + + nativeBuildInputs = [ + pkg-config + rustPlatform.bindgenHook + ]; + buildInputs = [ pipewire ]; + + meta = { + description = "Simple TUI mixer for PipeWire"; + mainProgram = "wiremix"; + homepage = "https://github.com/tsowell/wiremix"; + license = with lib.licenses; [ + asl20 + mit + ]; + maintainers = with lib.maintainers; [ tsowell ]; + platforms = lib.platforms.linux; + }; +}