Skip to content

Commit

Permalink
wl-restart: init at 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5a4 committed Aug 3, 2024
1 parent 6e14bbc commit b26b851
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/by-name/wl/wl-restart/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
scdoc,
nix-update-script,
}:
stdenv.mkDerivation {
pname = "wl-restart";
version = "0.2.0";

src = fetchFromGitHub {
owner = "Ferdi265";
repo = "wl-restart";
rev = "v0.2.0";
hash = "sha256-pMsYLU9pjN2cgz7FxJJwkDHKJt1mIAuagJSBjrPUMAM=";
};

nativeBuildInputs = [
cmake
scdoc
];

cmakeFlags = [ "-DINSTALL_DOCUMENTATION=ON" ];

passthru.updateScript = nix-update-script { };

meta = {
description = "seamlessly restart your wayland compositor when it crashes";
mainProgram = "wl-restart";
license = lib.licenses.gpl3;
homepage = "https://github.com/Ferdi265/wl-restart";
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ _0x5a4 ];
};
}

0 comments on commit b26b851

Please sign in to comment.