nixpkgs/pkgs/applications/misc/seatd/default.nix
Rouven Czerwinski a16d56e7b4 seatd: 0.6.4 -> 0.7.0
Package bump to 0.7.0. The most important change for NixOS is a polling
bug fix for the logind backend. Previously sway would receive the DRM FD
pause event only after the DRM FD was unpaused, this is fixed in this
release.

Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
2022-05-24 06:31:14 +02:00

44 lines
1 KiB
Nix

{ fetchFromSourcehut
, lib
, meson
, ninja
, pkg-config
, scdoc
, stdenv
, systemdSupport ? stdenv.isLinux, systemd
}:
stdenv.mkDerivation rec {
pname = "seatd";
version = "0.7.0";
src = fetchFromSourcehut {
owner = "~kennylevinsen";
repo = "seatd";
rev = version;
sha256 = "sha256-m8xoL90GI822FTgCXuVr3EejLAMUStkPKVoV7w8ayIE=";
};
outputs = [ "bin" "out" "dev" "man" ];
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
buildInputs = lib.optionals systemdSupport [ systemd ];
mesonFlags = [
"-Dlibseat-logind=${if systemdSupport then "systemd" else "disabled"}"
"-Dlibseat-builtin=enabled"
"-Dserver=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 ];
};
}