2021-03-09 03:18:52 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, json_c, pkg-config }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "swaykbdd";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.4";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "artemsen";
|
|
|
|
repo = "swaykbdd";
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-FtXmn5Lf0PhL99xGl/SHWNaE6vAMOF2Ok4xVJT2Bf/s=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
strictDeps = true;
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [ json_c ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Per-window keyboard layout for Sway";
|
|
|
|
homepage = "https://github.com/artemsen/swaykbdd";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ivankovnatsky ];
|
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "swaykbdd";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
}
|