Skip to content

Commit

Permalink
wl-restart: init at 0.2.0 (NixOS#337887)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda authored Aug 31, 2024
2 parents 7877b99 + 9a2f97a commit d5cbc4d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/by-name/wl/wl-restart/package.nix
Original file line number Diff line number Diff line change
@@ -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;
};
})

0 comments on commit d5cbc4d

Please sign in to comment.