sessiond: init at 0.6.1

This commit is contained in:
Gabriel Arazas 2023-08-22 09:18:38 +08:00
parent a43dc6bff4
commit d8263334c0
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 58 additions and 0 deletions

View File

@ -37,6 +37,7 @@ let
speki = callPackage ./speki { };
tic-80 = callPackage ./tic-80 { };
smile = callPackage ./smile { };
sessiond = callPackage ./sessiond { };
vpaint = libsForQt5.callPackage ./vpaint.nix { };
vgc = qt6Packages.callPackage ./vgc { };
watc = callPackage ./watc { };

57
pkgs/sessiond/default.nix Normal file
View File

@ -0,0 +1,57 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, meson
, ninja
, pkg-config
, glib
, xorg
, udev
, wireplumber
, pipewire
, perl
}:
stdenv.mkDerivation rec {
pname = "sessiond";
version = "0.6.1";
src = fetchFromGitHub {
owner = "jcrd";
repo = "sessiond";
rev = "v${version}";
hash = "sha256-w1IOzhZAlWiYaGBdS2CTa2Z8fHXcsAvBKIoXLQSBjts=";
};
patches = [
(fetchpatch {
url = "https://github.com/jcrd/sessiond/pull/8.patch";
hash = "sha256-/GFPwJ4OBskavUJYhR5LGpt+HZABDOCpx6cVYDCYTNE=";
})
];
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
glib
udev
xorg.libXi
xorg.libX11
xorg.libXext
wireplumber
pipewire
perl
];
meta = with lib; {
homepage = "https://github.com/jcrd/sessiond";
description = "Standalone session manager for X11 window managers";
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}