nixpkgs/pkgs/tools/system/kanata/default.nix

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

30 lines
709 B
Nix
Raw Normal View History

{ fetchFromGitHub
, lib
, rustPlatform
, withCmd ? false
}:
rustPlatform.buildRustPackage rec {
pname = "kanata";
2022-11-06 07:55:50 +00:00
version = "1.0.8";
src = fetchFromGitHub {
owner = "jtroo";
repo = pname;
rev = "v${version}";
2022-11-06 07:55:50 +00:00
sha256 = "sha256-9x0ELoYCwfE0N7CuxZYMPBmX8A5Vh4pAtbcY6X6S9eQ=";
};
2022-11-06 07:55:50 +00:00
cargoHash = "sha256-e7yftR1mLMllBe0OIU5QWmGtQm+h30CbTInB6ojQk7M=";
buildFeatures = lib.optional withCmd "cmd";
meta = with lib; {
2022-08-21 02:06:28 +01:00
description = "A tool to improve keyboard comfort and usability with advanced customization";
homepage = "https://github.com/jtroo/kanata";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ linj ];
platforms = platforms.linux;
};
}