mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
25 lines
644 B
Nix
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;
|
|
};
|
|
}
|