nixpkgs/pkgs/tools/wayland/swaykbdd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
695 B
Nix
Raw Normal View History

2021-03-07 15:24:36 +00:00
{ lib, stdenv, fetchFromGitHub, meson, ninja, json_c, pkg-config }:
stdenv.mkDerivation rec {
pname = "swaykbdd";
2023-11-14 06:12:56 +00:00
version = "1.4";
2021-03-07 15:24:36 +00:00
src = fetchFromGitHub {
owner = "artemsen";
repo = "swaykbdd";
rev = "v${version}";
2023-11-14 06:12:56 +00:00
sha256 = "sha256-FtXmn5Lf0PhL99xGl/SHWNaE6vAMOF2Ok4xVJT2Bf/s=";
2021-03-07 15:24:36 +00:00
};
2022-05-09 14:18:15 +00:00
strictDeps = true;
2021-03-07 15:24:36 +00:00
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;
2023-11-27 01:17:53 +00:00
mainProgram = "swaykbdd";
2021-03-07 15:24:36 +00:00
};
}