wl-restart: init at 0.2.0

This commit is contained in:
Bot_wxt1221 2024-08-28 15:19:09 +08:00 committed by wxt
parent b8d0f5448b
commit 9a2f97a16b
No known key found for this signature in database
GPG Key ID: 8281D5EE2D1825A4

View File

@ -0,0 +1,36 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
scdoc,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wl-restart";
version = "0.2.0";
src = fetchFromGitHub {
owner = "Ferdi265";
repo = "wl-restart";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-pMsYLU9pjN2cgz7FxJJwkDHKJt1mIAuagJSBjrPUMAM=";
};
cmakeFlags = [ (lib.cmakeBool "INSTALL_DOCUMENTATION" true) ];
nativeBuildInputs = [
scdoc
cmake
];
meta = {
description = "Simple tool that restarts your compositor when it crashes";
homepage = "https://github.com/Ferdi265/wl-restart";
changelog = "https://github.com/Ferdi265/wl-restart/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
mainProgram = "wl-restart";
maintainers = with lib.maintainers; [ bot-wxt1221 ];
platforms = lib.platforms.linux;
};
})