hyprpaper: 0.7.6 -> 0.8.0 (#475150)
This commit is contained in:
@@ -3,85 +3,87 @@
|
||||
gcc15Stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
hyprwayland-scanner,
|
||||
hyprwire,
|
||||
pkg-config,
|
||||
wayland-scanner,
|
||||
aquamarine,
|
||||
cairo,
|
||||
bash,
|
||||
expat,
|
||||
file,
|
||||
fribidi,
|
||||
hyprgraphics,
|
||||
hyprlang,
|
||||
libdatrie,
|
||||
hyprutils,
|
||||
hyprtoolkit,
|
||||
libGL,
|
||||
libdatrie,
|
||||
libdrm,
|
||||
libjpeg,
|
||||
libjxl,
|
||||
libselinux,
|
||||
libsepol,
|
||||
libthai,
|
||||
libwebp,
|
||||
libXdmcp,
|
||||
libxdmcp,
|
||||
pango,
|
||||
pcre,
|
||||
pcre2,
|
||||
pkg-config,
|
||||
util-linux,
|
||||
wayland,
|
||||
wayland-protocols,
|
||||
wayland-scanner,
|
||||
hyprwayland-scanner,
|
||||
hyprutils,
|
||||
hyprgraphics,
|
||||
util-linux,
|
||||
}:
|
||||
|
||||
gcc15Stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprpaper";
|
||||
version = "0.7.6";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "hyprpaper";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-l/OxM4q/nLVv47OuS4bG2J7k0m+G7/3AMtvrV64XLb0=";
|
||||
hash = "sha256-5h8HbO71r+QD94WZ/Xm3K0X706+x5c+/96daRpL/0zo=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace src/main.cpp \
|
||||
--replace-fail GIT_COMMIT_HASH '"${finalAttrs.src.rev}"'
|
||||
'';
|
||||
postPatch = ''
|
||||
substituteInPlace src/helpers/MiscFunctions.cpp \
|
||||
--replace-fail '/bin/bash' '${bash}/bin/bash'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
hyprwayland-scanner
|
||||
hyprwire
|
||||
pkg-config
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
aquamarine
|
||||
cairo
|
||||
bash
|
||||
expat
|
||||
file
|
||||
fribidi
|
||||
hyprgraphics
|
||||
hyprlang
|
||||
libdatrie
|
||||
hyprutils
|
||||
hyprtoolkit
|
||||
libGL
|
||||
libdatrie
|
||||
libdrm
|
||||
libjpeg
|
||||
libjxl
|
||||
libselinux
|
||||
libsepol
|
||||
libthai
|
||||
libwebp
|
||||
libXdmcp
|
||||
libxdmcp
|
||||
pango
|
||||
pcre
|
||||
pcre2
|
||||
util-linux
|
||||
wayland
|
||||
wayland-protocols
|
||||
hyprutils
|
||||
hyprgraphics
|
||||
util-linux
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user