26 lines
665 B
Nix
26 lines
665 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja, json_c, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "swaykbdd";
|
|
version = "1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "artemsen";
|
|
repo = "swaykbdd";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-umYPVkkYeu6TyVkjDsVBsRZLYh8WyseCPdih85kTz6A=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|