keylight-cli: init at 1.0.0

This commit is contained in:
Artyom Pertsovsky
2025-01-29 12:07:11 +02:00
parent b4047da3b4
commit f3b1b59022
2 changed files with 44 additions and 0 deletions
+6
View File
@@ -23915,6 +23915,12 @@
githubId = 245573;
name = "Dmitry Kalinkin";
};
versality = {
email = "artyom@pertsovsky.com";
github = "versality";
githubId = 1486626;
name = "Artyom Pertsovsky";
};
vglfr = {
email = "vf.velt@gmail.com";
github = "vglfr";
+38
View File
@@ -0,0 +1,38 @@
{
lib,
stdenv,
fetchFromGitHub,
babashka,
}:
stdenv.mkDerivation rec {
pname = "keylight-cli";
version = "1.0.0";
src = fetchFromGitHub {
owner = "versality";
repo = "keylight-cli";
tag = "v${version}";
sha256 = "sha256-gzTvMBa7JVckxLnltlR5XOj6BBbfPXZei7Wj3f1n4Kw=";
};
buildInputs = [ babashka ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -Dm755 keylight.bb $out/bin/keylight
runHook postInstall
'';
meta = with lib; {
description = "CLI tool to control Elgato Key Light devices";
homepage = "https://github.com/versality/keylight-cli";
license = licenses.gpl2Only;
maintainers = with maintainers; [ versality ];
mainProgram = "keylight";
platforms = platforms.all;
};
}