hyprviz: init at 0.6.1 (#442448)
This commit is contained in:
@@ -26043,6 +26043,12 @@
|
||||
github = "tilpner";
|
||||
githubId = 4322055;
|
||||
};
|
||||
timasoft = {
|
||||
name = "Timofey Klester";
|
||||
email = "tima.klester@yandex.ru";
|
||||
github = "timasoft";
|
||||
githubId = 74288993;
|
||||
};
|
||||
timbertson = {
|
||||
email = "tim@gfxmonk.net";
|
||||
github = "timbertson";
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
gtk4,
|
||||
glib,
|
||||
pango,
|
||||
pkg-config,
|
||||
wrapGAppsHook4,
|
||||
hyprland,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "hyprviz";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timasoft";
|
||||
repo = "hyprviz";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-xiAP5Xy30IokRcR25ObXLeM7qKjVXgEv9fQZA2KDxOA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-FW0FGoJ/OPlujgB8OXsO+Y6J1piA7FywsuDm8MU4KfI=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk4
|
||||
glib
|
||||
pango
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 hyprviz.desktop -t $out/share/applications
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "GUI for configuring Hyprland";
|
||||
homepage = "https://github.com/timasoft/hyprviz";
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ timasoft ];
|
||||
mainProgram = "hyprviz";
|
||||
platforms = hyprland.meta.platforms;
|
||||
changelog = "https://github.com/timasoft/hyprviz/releases/tag/v${finalAttrs.version}";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user