depot/pkgs/by-name/ko/kontroll/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
744 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
protobuf,
}:
rustPlatform.buildRustPackage rec {
pname = "kontroll";
version = "1.0.1";
src = fetchFromGitHub {
owner = "zsa";
repo = "kontroll";
rev = version;
hash = "sha256-k7Twbjl8umk3PeIv3ivCLdhZFgTTV8WdfIAoGAD/pEk=";
};
cargoHash = "sha256-931PmSvcXTjxdIQUCSxLwFnaHgRrFzA/v6yYTvkjNoQ=";
nativeBuildInputs = [ protobuf ];
meta = {
description = "Kontroll demonstates how to control the Keymapp API, making it easy to control your ZSA keyboard from the command line and scripts";
homepage = "https://github.com/zsa/kontroll";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ davsanchez ];
mainProgram = "kontroll";
};
}