mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
41 lines
901 B
Nix
41 lines
901 B
Nix
{ fetchFromSourcehut
|
|
, lib
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, scdoc
|
|
, stdenv
|
|
, systemd
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "seatd";
|
|
version = "0.6.3";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~kennylevinsen";
|
|
repo = "seatd";
|
|
rev = version;
|
|
sha256 = "sha256-LLRGi3IACqaIHExLhALnUeiPyUnlhAJzsMFE2p+QSp4=";
|
|
};
|
|
|
|
outputs = [ "bin" "out" "dev" "man" ];
|
|
|
|
depsBuildBuild = [ pkg-config ];
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
|
|
|
|
buildInputs = [ systemd ];
|
|
|
|
mesonFlags = [ "-Dlibseat-logind=systemd" "-Dlibseat-builtin=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 ];
|
|
};
|
|
}
|