kanata: init at 1.0.5 (#182358)

Co-authored-by: Azat Bahawi <azat+github@bahawi.net>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Jian Lin 2022-07-24 23:40:27 +08:00 committed by GitHub
parent 3bc02c71c0
commit 1e079ca5ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 0 deletions

View File

@ -7437,6 +7437,16 @@
githubId = 667272;
name = "Lincoln Lee";
};
linj = {
name = "Lin Jian";
email = "me@linj.tech";
matrix = "@me:linj.tech";
github = "jian-lin";
githubId = 75130626;
keys = [{
fingerprint = "80EE AAD8 43F9 3097 24B5 3D7E 27E9 7B91 E63A 7FF8";
}];
};
linquize = {
email = "linquize@yahoo.com.hk";
github = "linquize";

View File

@ -0,0 +1,35 @@
{ fetchFromGitHub
, lib
, libevdev
, pkg-config
, rustPlatform
, withCmd ? false
}:
rustPlatform.buildRustPackage rec {
pname = "kanata";
version = "1.0.5";
src = fetchFromGitHub {
owner = "jtroo";
repo = pname;
rev = "v${version}";
sha256 = "sha256-sL9hP+222i8y0sK3ZEx66yXBTgZp5ewoPUlZS4XnphY=";
};
cargoHash = "sha256-uhN1UdwtU0C0/lpxUYoCcMLABFTPNO5wKsIGOBnFpzw=";
buildFeatures = lib.optional withCmd "cmd";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libevdev ];
meta = with lib; {
description = "A cross-platform advanced keyboard customization tool";
homepage = "https://github.com/jtroo/kanata";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ linj ];
platforms = platforms.linux;
};
}

View File

@ -1227,6 +1227,8 @@ with pkgs;
httm = callPackage ../tools/filesystems/httm { };
kanata = callPackage ../tools/system/kanata { };
ksnip = libsForQt5.callPackage ../tools/misc/ksnip { };
kubevirt = callPackage ../tools/virtualization/kubevirt { };