diff --git a/pkgs/development/libraries/libseat/default.nix b/pkgs/applications/misc/seatd/default.nix similarity index 74% rename from pkgs/development/libraries/libseat/default.nix rename to pkgs/applications/misc/seatd/default.nix index bdefb51b50f4..e07356d0c334 100644 --- a/pkgs/development/libraries/libseat/default.nix +++ b/pkgs/applications/misc/seatd/default.nix @@ -3,12 +3,13 @@ , meson , ninja , pkg-config +, scdoc , stdenv , systemd }: stdenv.mkDerivation rec { - pname = "libseat"; + pname = "seatd"; version = "0.5.0"; src = fetchFromSourcehut { @@ -18,13 +19,13 @@ stdenv.mkDerivation rec { sha256 = "sha256-JwlJLHkRgSRqfQEhXbzuFTmhxfbwKVdLICPbTDbC9M0="; }; - nativeBuildInputs = [ meson ninja pkg-config ]; + outputs = [ "bin" "out" "dev" "man" ]; - buildInputs = [ - systemd - ]; + nativeBuildInputs = [ meson ninja pkg-config scdoc ]; - mesonFlags = [ "-Dserver=disabled" "-Dseatd=disabled" "-Dlogind=enabled"]; + buildInputs = [ systemd ]; + + mesonFlags = [ "-Dlogind=enabled" "-Dbuiltin=enabled" ]; meta = with lib; { description = "A universal seat management library"; diff --git a/pkgs/development/libraries/wlroots/default.nix b/pkgs/development/libraries/wlroots/default.nix index d0596de44396..45c2fd228f2d 100644 --- a/pkgs/development/libraries/wlroots/default.nix +++ b/pkgs/development/libraries/wlroots/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland-scanner , libGL, wayland, wayland-protocols, libinput, libxkbcommon, pixman , xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa -, libpng, ffmpeg, xcbutilrenderutil, xwayland, libseat +, libpng, ffmpeg, xcbutilrenderutil, xwayland, seatd }: stdenv.mkDerivation rec { @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { buildInputs = [ libGL wayland wayland-protocols libinput libxkbcommon pixman xcbutilwm libX11 libcap xcbutilimage xcbutilerrors mesa - libpng ffmpeg xcbutilrenderutil xwayland libseat + libpng ffmpeg xcbutilrenderutil xwayland seatd ]; postFixup = '' diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 018b746a51f6..f820eef45d04 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -409,6 +409,7 @@ mapAliases ({ libqrencode = qrencode; # added 2019-01-01 librdf = lrdf; # added 2020-03-22 librecad2 = librecad; # backwards compatibility alias, added 2015-10 + libseat = seatd; # added 2021-06-24 libsysfs = sysfsutils; # added 2018-04-25 libtidy = html-tidy; # added 2014-12-21 libtxc_dxtn = throw "libtxc_dxtn was removed 2020-03-16, now integrated in Mesa"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8fd46c1bc14a..fc7602b011c4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16856,8 +16856,6 @@ in libsearpc = callPackage ../development/libraries/libsearpc { }; - libseat = callPackage ../development/libraries/libseat { }; - libsigcxx = callPackage ../development/libraries/libsigcxx { }; libsigcxx12 = callPackage ../development/libraries/libsigcxx/1.2.nix { }; @@ -26635,6 +26633,8 @@ in seafile-client = libsForQt5.callPackage ../applications/networking/seafile-client { }; + seatd = callPackage ../applications/misc/seatd { }; + secretscanner = callPackage ../tools/security/secretscanner { }; semiphemeral = callPackage ../tools/misc/semiphemeral { };