depot/third_party/nixpkgs/pkgs/tools/wayland/swaykbdd/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

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";
};
}