kontroll: init at 1.0.1

This commit is contained in:
David Sánchez
2024-07-27 00:59:13 +01:00
parent 2b6d4d26d4
commit 7a0b34fa71
+30
View File
@@ -0,0 +1,30 @@
{
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 = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ davsanchez ];
mainProgram = "kontroll";
};
}