mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
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:
parent
3bc02c71c0
commit
1e079ca5ce
@ -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";
|
||||
|
35
pkgs/tools/system/kanata/default.nix
Normal file
35
pkgs/tools/system/kanata/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user