mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 22:14:34 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
45 lines
1008 B
Nix
45 lines
1008 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, wrapGAppsHook3
|
|
, libpulseaudio
|
|
, glib
|
|
, pango
|
|
, gtk3
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "myxer";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Aurailus";
|
|
repo = "myxer";
|
|
rev = version;
|
|
hash = "sha256-c5SHjnhWLp0jMdmDlupMTA0hWphub5DFY1vOI6NW8E0=";
|
|
};
|
|
|
|
cargoHash = "sha256-IH+SLIHO/wu+przH+mgOEnH9m+iAE5s/BJhh0UUHR/0=";
|
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
|
|
|
|
buildInputs = [ libpulseaudio glib pango gtk3 ];
|
|
|
|
postInstall = ''
|
|
install -Dm644 Myxer.desktop $out/share/applications/Myxer.desktop
|
|
'';
|
|
|
|
# Currently no tests are implemented, so we avoid building the package twice
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A modern Volume Mixer for PulseAudio";
|
|
homepage = "https://github.com/Aurailus/Myxer";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ erin rster2002 ];
|
|
mainProgram = "myxer";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|