swayidle: init at 1.1

This commit is contained in:
Michael Weiss 2019-01-15 13:09:52 +01:00
parent db70173627
commit 813164e0cd
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, scdoc
, wayland, wayland-protocols, systemd
}:
stdenv.mkDerivation rec {
name = "swayidle-${version}";
version = "1.1";
src = fetchFromGitHub {
owner = "swaywm";
repo = "swayidle";
rev = version;
sha256 = "1xmcd5wajyrxc8171pl7vhxqg4da482k5n1h0x1j9n07wz50wjqm";
};
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
buildInputs = [ wayland wayland-protocols systemd ];
meta = with stdenv.lib; {
description = "Idle management daemon for Wayland";
longDescription = ''
Sway's idle management daemon. It is compatible with any Wayland
compositor which implements the KDE idle protocol.
'';
inherit (src.meta) homepage;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
};
}

View File

@ -17607,6 +17607,7 @@ in
sway = callPackage ../applications/window-managers/sway { };
sway-beta = callPackage ../applications/window-managers/sway/beta.nix { };
swayidle = callPackage ../applications/window-managers/sway/idle.nix { };
velox = callPackage ../applications/window-managers/velox {
stConf = config.st.conf or null;