mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
swayidle: init at 1.1
This commit is contained in:
parent
db70173627
commit
813164e0cd
31
pkgs/applications/window-managers/sway/idle.nix
Normal file
31
pkgs/applications/window-managers/sway/idle.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user