kanshi: rename from tools/misc to tools/wayland

This commit is contained in:
AndersonTorres
2021-02-16 12:37:39 -03:00
parent 7f3c4b5df2
commit fa1d3eee74
2 changed files with 12 additions and 5 deletions
-33
View File
@@ -1,33 +0,0 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, scdoc, wayland }:
stdenv.mkDerivation rec {
pname = "kanshi";
version = "1.1.0";
src = fetchFromGitHub {
owner = "emersion";
repo = "kanshi";
rev = "v${version}";
sha256 = "0nbpgm8qnn7ljsg9vgs35kl8l4rrk542vdcbx8wrn9r909ld3x92";
};
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
buildInputs = [ wayland ];
meta = with lib; {
description = "Dynamic display configuration tool";
longDescription = ''
kanshi allows you to define output profiles that are automatically enabled
and disabled on hotplug. For instance, this can be used to turn a laptop's
internal screen off when docked.
kanshi can be used on Wayland compositors supporting the
wlr-output-management protocol.
'';
homepage = "https://github.com/emersion/kanshi";
downloadPage = "https://github.com/emersion/kanshi";
license = licenses.mit;
maintainers = with maintainers; [ balsoft ];
platforms = platforms.linux;
};
}