Files
moonix/pkgs/stasis.nix
T
nevaforget 00cbdfceea Package stasis, the Wayland idle manager
Not available in nixpkgs. Pinned to v1.4.1, the version currently
installed on the Arch host.
2026-08-07 16:15:05 +02:00

29 lines
645 B
Nix

# ABOUTME: Nix build recipe for stasis, the Wayland idle manager.
# ABOUTME: Not in nixpkgs; upstream is saltnpepper97/stasis on GitHub.
{ lib
, rustPlatform
, pkg-config
, wayland
, src
, version
}:
rustPlatform.buildRustPackage {
pname = "stasis";
inherit version src;
cargoLock.lockFile = "${src}/Cargo.lock";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ wayland ];
meta = {
description = "Wayland idle manager with sequential, configurable timeouts";
homepage = "https://github.com/saltnpepper97/stasis";
license = lib.licenses.mit;
mainProgram = "stasis";
platforms = lib.platforms.linux;
};
}