wl-freeze: rename from hyprfreeze; 1.2.0 -> 2.0.2 (#508697)
This commit is contained in:
@@ -10,33 +10,41 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprfreeze";
|
||||
version = "1.2.0";
|
||||
pname = "wl-freeze";
|
||||
version = "2.0.2";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Zerodya";
|
||||
repo = "hyprfreeze";
|
||||
repo = "wl-freeze";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-omwAWBEnb14ZBux7bvXSJyi7FI1LZ5GaZFn46/bWJA4=";
|
||||
hash = "sha256-miyDiUN86Zy9RfVm1MefKrYihX4+bFv6Jr4Cl4GzGz8=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 hyprfreeze $out/bin/hyprfreeze
|
||||
install -Dm755 wl-freeze $out/bin/wl-freeze
|
||||
|
||||
# Install shell completions
|
||||
install -Dm444 completions/bash/hyprfreeze $out/share/bash-completion/completions/hyprfreeze
|
||||
install -Dm444 completions/zsh/_hyprfreeze $out/share/zsh/site-functions/_hyprfreeze
|
||||
install -Dm444 completions/fish/hyprfreeze.fish $out/share/fish/completions/hyprfreeze.fish
|
||||
installShellCompletion \
|
||||
--cmd wl-freeze \
|
||||
--bash completions/bash/wl-freeze \
|
||||
--zsh completions/zsh/_wl-freeze \
|
||||
--fish completions/fish/wl-freeze.fish
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/hyprfreeze \
|
||||
wrapProgram $out/bin/wl-freeze \
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
jq
|
||||
@@ -48,11 +56,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Utility to suspend a game process (and other programs) in Hyprland";
|
||||
homepage = "https://github.com/Zerodya/hyprfreeze";
|
||||
description = "Utility to suspend a game process (and other programs) in Wayland compositors";
|
||||
homepage = "https://github.com/Zerodya/wl-freeze";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ zerodya ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "hyprfreeze";
|
||||
mainProgram = "wl-freeze";
|
||||
};
|
||||
})
|
||||
@@ -927,6 +927,7 @@ mapAliases {
|
||||
http-prompt = throw "'http-prompt' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-26
|
||||
hydra_unstable = throw "'hydra_unstable' has been renamed to/replaced by 'hydra'"; # Converted to throw 2025-10-27
|
||||
hydraAntLogger = warnAlias "'hydraAntLogger' has been renamed to 'hydra-ant-logger'" hydra-ant-logger; # Added 2026-02-08
|
||||
hyprfreeze = warnAlias "'hyprfreeze' has been renamed to 'wl-freeze'" wl-freeze; # Added 2026-04-10
|
||||
i3-gaps = throw "'i3-gaps' has been renamed to/replaced by 'i3'"; # Converted to throw 2025-10-27
|
||||
i3lock-pixeled = throw "'i3lock-pixeled' has been unmaintained for several years now."; # Converted to throw 2026-01-24
|
||||
ibm-sw-tpm2 = throw "ibm-sw-tpm2 has been removed, as it was broken"; # Added 2025-08-25
|
||||
|
||||
Reference in New Issue
Block a user