Not available in nixpkgs. Pinned to v1.4.1, the version currently installed on the Arch host.
29 lines
645 B
Nix
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;
|
|
};
|
|
}
|