mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 20:02:14 +03:00
libseat: init at 0.5.0
Wlroots will require libseat in the future, add the library to nixpkgs in preparation.
This commit is contained in:
parent
6440e2e353
commit
3a93da0a58
37
pkgs/development/libraries/libseat/default.nix
Normal file
37
pkgs/development/libraries/libseat/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ fetchFromSourcehut
|
||||
, lib
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, systemd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libseat";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~kennylevinsen";
|
||||
repo = "seatd";
|
||||
rev = version;
|
||||
sha256 = "sha256-JwlJLHkRgSRqfQEhXbzuFTmhxfbwKVdLICPbTDbC9M0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
systemd
|
||||
];
|
||||
|
||||
mesonFlags = [ "-Dserver=disabled" "-Dseatd=disabled" "-Dlogind=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 ];
|
||||
};
|
||||
}
|
@ -15680,6 +15680,8 @@ in
|
||||
|
||||
libsearpc = callPackage ../development/libraries/libsearpc { };
|
||||
|
||||
libseat = callPackage ../development/libraries/libseat { };
|
||||
|
||||
libsigcxx = callPackage ../development/libraries/libsigcxx { };
|
||||
|
||||
libsigcxx12 = callPackage ../development/libraries/libsigcxx/1.2.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user