mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
d5bcba77a3
This is the new mechanism for wlroots-based compositors to be able to run as root, with no logind or seatd running.
39 lines
849 B
Nix
39 lines
849 B
Nix
{ fetchFromSourcehut
|
|
, lib
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, scdoc
|
|
, stdenv
|
|
, systemd
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "seatd";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~kennylevinsen";
|
|
repo = "seatd";
|
|
rev = version;
|
|
sha256 = "sha256-JwlJLHkRgSRqfQEhXbzuFTmhxfbwKVdLICPbTDbC9M0=";
|
|
};
|
|
|
|
outputs = [ "bin" "out" "dev" "man" ];
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
|
|
|
|
buildInputs = [ systemd ];
|
|
|
|
mesonFlags = [ "-Dlogind=enabled" "-Dbuiltin=enabled" ];
|
|
|
|
meta = with lib; {
|
|
description = "A universal seat management library";
|
|
changelog = "https://git.sr.ht/~kennylevinsen/seatd/refs/${version}";
|
|
homepage = "https://sr.ht/~kennylevinsen/seatd/";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ emantor ];
|
|
};
|
|
}
|