504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
26 lines
695 B
Nix
26 lines
695 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja, json_c, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "swaykbdd";
|
|
version = "1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "artemsen";
|
|
repo = "swaykbdd";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-FtXmn5Lf0PhL99xGl/SHWNaE6vAMOF2Ok4xVJT2Bf/s=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
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;
|
|
mainProgram = "swaykbdd";
|
|
};
|
|
}
|