hyprpaper: 0.8.1-unstable-2026-01-08 -> 0.8.3 (#485388)
This commit is contained in:
@@ -32,22 +32,23 @@
|
||||
wayland,
|
||||
wayland-protocols,
|
||||
util-linux,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
gcc15Stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprpaper";
|
||||
version = "0.8.1-unstable-2026-01-08";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "hyprpaper";
|
||||
rev = "2953d963bec2ea63b4303e269b472524db46a121";
|
||||
hash = "sha256-vxAZg+NzAKuWZv2yDrTcXrU+klpAcGFo1FvjYb/CqZ8=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-6N1JeQx9/M3XCcxErk24FLMxTgn8GH40fpckP8X3ons=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace src/main.cpp \
|
||||
--replace-fail GIT_COMMIT_HASH '"${finalAttrs.src.rev}"'
|
||||
--replace-fail GIT_COMMIT_HASH '"${finalAttrs.src.tag}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -86,6 +87,9 @@ gcc15Stdenv.mkDerivation (finalAttrs: {
|
||||
util-linux
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
meta = {
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
description = "Blazing fast wayland wallpaper utility";
|
||||
|
||||
Reference in New Issue
Block a user