depot/pkgs/by-name/sw/swaykbdd/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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";
};
}