nixpkgs/pkgs/tools/wayland/swaykbdd/default.nix
2022-03-20 02:35:29 +00:00

25 lines
644 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=";
};
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;
};
}