Merge pull request #309255 from fufexan/hyprpaper

hyprpaper: 0.6.0 -> 0.7.0
This commit is contained in:
Masum Reza 2024-06-20 20:04:05 +05:30 committed by GitHub
commit 2da1c486cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,14 +2,24 @@
, stdenv
, fetchFromGitHub
, cmake
, cairo
, expat
, file
, fribidi
, hyprlang
, libdatrie
, libGL
, libjpeg
, libselinux
, libsepol
, libthai
, libwebp
, mesa
, libXdmcp
, pango
, pcre
, pcre2
, pkg-config
, util-linux
, wayland
, wayland-protocols
, wayland-scanner
@ -33,13 +43,23 @@ stdenv.mkDerivation (finalAttrs: {
];
buildInputs = [
cairo
expat
file
fribidi
hyprlang
libdatrie
libGL
libjpeg
libselinux
libsepol
libthai
libwebp
mesa
libXdmcp
pango
pcre
pcre2
util-linux
wayland
wayland-protocols
];
@ -49,18 +69,6 @@ stdenv.mkDerivation (finalAttrs: {
--replace GIT_COMMIT_HASH '"${finalAttrs.src.rev}"'
'';
preConfigure = ''
make protocols
'';
installPhase = ''
runHook preInstall
install -Dm755 ./hyprpaper -t $out/bin
runHook postInstall
'';
meta = with lib; {
inherit (finalAttrs.src.meta) homepage;
description = "Blazing fast wayland wallpaper utility";