hyprgui: 0.1.8 -> 0.1.9 (#357029)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-30 00:25:01 +01:00 committed by GitHub
commit 3b56519f50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,16 +12,16 @@
rustPlatform.buildRustPackage rec {
pname = "hyprgui";
version = "0.1.8";
version = "0.1.9";
src = fetchFromGitHub {
owner = "hyprutils";
repo = "hyprgui";
rev = "refs/tags/v${version}";
hash = "sha256-Bg1S/FhduRSSXc3Yd7SkyrmMKff7oh0jw781jTB0J60=";
hash = "sha256-VP+6qWu4nv8h9LLjTnl8Mh1aAlIA+zuufRYoouxl2Tc=";
};
cargoHash = "sha256-bhtmU0vGptUYrPN/BbbSvSa27Ykma8UI6TS17eiQkyU=";
cargoHash = "sha256-t0HqraCA4q7K4EEtPS8J0ZmnhBB+Zf0aX+yXSUdKJzo=";
strictDeps = true;
@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec {
pkg-config
wrapGAppsHook4
];
buildInputs = [
glib
cairo
@ -36,9 +37,15 @@ rustPlatform.buildRustPackage rec {
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 = {