hyprgui: init at 0.1.6
This commit is contained in:
parent
be6a26cae7
commit
35fb000eeb
52
pkgs/by-name/hy/hyprgui/package.nix
Normal file
52
pkgs/by-name/hy/hyprgui/package.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
glib,
|
||||
pango,
|
||||
cairo,
|
||||
gtk4,
|
||||
wrapGAppsHook4,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hyprgui";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprutils";
|
||||
repo = "hyprgui";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-n/poyVDBnMb4vw2YEymxxdjscGmu76qQ/BbS5BJOknM=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-w+Bfjv7usyYfgTKW+KHqskNPco17QSjwn96cG/6yVoU=";
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wrapGAppsHook4
|
||||
];
|
||||
buildInputs = [
|
||||
glib
|
||||
cairo
|
||||
pango
|
||||
gtk4
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 -t $out/usr/share/icons hyprgui.png
|
||||
install -Dm644 -t $out/usr/share/applications hyprgui.desktop
|
||||
'';
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user