{hyprgui, hyprlauncher, hyprwall}: remove package

This commit is contained in:
arminius-smh
2024-12-27 12:50:28 +01:00
parent 8d86075fcb
commit 765b524bac
4 changed files with 3 additions and 160 deletions
-59
View File
@@ -1,59 +0,0 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
glib,
pango,
cairo,
gtk4,
wrapGAppsHook4,
}:
rustPlatform.buildRustPackage rec {
pname = "hyprgui";
version = "0.2.0";
src = fetchFromGitHub {
owner = "hyprutils";
repo = "hyprgui";
rev = "refs/tags/v${version}";
hash = "sha256-akV83bvPuSJUleP0mDcnAR1KFegOXyoKSD0CVyNDJmc=";
};
cargoHash = "sha256-SBI2Gk4FImGw8169xIV8L0fbfcKzn6PqvLg6XxbpurI=";
strictDeps = true;
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
];
buildInputs = [
glib
cairo
pango
gtk4
];
prePatch = ''
substituteInPlace hyprgui.desktop \
--replace-fail "/usr/bin/" ""
'';
postInstall = ''
install -Dm644 -t $out/usr/share/icons hyprgui.png
install -Dm644 -t $out/usr/share/applications hyprgui.desktop
install -Dm644 -t $out/usr/share/licenses/${pname} LICENSE
'';
meta = {
description = "GUI for configuring Hyprland written in Rust";
homepage = "https://github.com/hyprutils/hyprgui";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ fccapria ];
badPlatforms = lib.platforms.darwin;
mainProgram = "hyprgui";
};
}
-47
View File
@@ -1,47 +0,0 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
glib,
pango,
gtk4,
gtk4-layer-shell,
wrapGAppsHook4,
}:
rustPlatform.buildRustPackage rec {
pname = "hyprlauncher";
version = "0.2.8";
src = fetchFromGitHub {
owner = "hyprutils";
repo = "hyprlauncher";
rev = "refs/tags/v${version}";
hash = "sha256-+CFMGWK7W8BWIY2Xg4P7VLYQ7wQmmmjGSM5Rzq8yMSY=";
};
cargoHash = "sha256-epvUpsWkkJqWuUjsbHQaHMcBkDc06ke56I/5/QEag/g=";
strictDeps = true;
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
];
buildInputs = [
glib
pango
gtk4
gtk4-layer-shell
];
meta = {
description = "GUI for launching applications, written in Rust";
homepage = "https://github.com/hyprutils/hyprlauncher";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ arminius-smh ];
platforms = lib.platforms.linux;
mainProgram = "hyprlauncher";
};
}
-54
View File
@@ -1,54 +0,0 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
glib,
pango,
gtk3,
wrapGAppsHook4,
}:
rustPlatform.buildRustPackage rec {
pname = "hyprwall";
version = "0.1.9";
src = fetchFromGitHub {
owner = "hyprutils";
repo = "hyprwall";
rev = "refs/tags/v${version}";
hash = "sha256-A4lOEO7xKdKCUGv0scrGlwgkM8ekAWErzaN1DdgMMlA=";
};
cargoHash = "sha256-ZyVHkQGv+THb2cAHH3V8nb3x9ZmpoSdR8CV7AiWQ8as=";
nativeBuildInputs = [
pkg-config
glib
pango
wrapGAppsHook4
];
# Required in build process, prevents gdk-sys build error.
buildInputs = [
gtk3
];
postInstall = ''
install -Dm644 hyprwall.desktop -t $out/share/applications
install -Dm644 hyprwall.png -t $out/share/pixmaps
substituteInPlace "$out/share/applications/hyprwall.desktop" \
--replace-fail 'Exec=/usr/bin/hyprwall' "Exec=hyprwall"
'';
meta = {
description = "GUI for setting wallpapers with hyprpaper";
homepage = "https://github.com/hyprutils/hyprwall";
changelog = "https://github.com/hyprutils/hyprwall/releases/tag/v${version}";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ genga898 ];
mainProgram = "hyprwall";
platforms = lib.platforms.linux;
};
}
+3
View File
@@ -550,6 +550,9 @@ mapAliases {
ht-rust = throw "'ht-rust' has been renamed to/replaced by 'xh'"; # Converted to throw 2024-10-17
hydra_unstable = hydra; # Added 2024-08-22
hydron = throw "hydron has been removed as the project has been archived upstream since 2022 and is affected by a severe remote code execution vulnerability";
hyprgui = throw "hyprgui has been removed as the repository is deleted"; # Added 2024-12-27
hyprlauncher = throw "hyprlauncher has been removed as the repository is deleted"; # Added 2024-12-27
hyprwall = throw "hyprwall has been removed as the repository is deleted"; # Added 2024-12-27
### I ###