Skip to content

Commit

Permalink
keylight-cli: init at 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
versality committed Jan 12, 2025
1 parent b4047da commit 7c18ff8
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
34 changes: 34 additions & 0 deletions pkgs/by-name/ke/keylight-cli/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
lib,
stdenv,
fetchFromGitHub,
babashka,
}:

stdenv.mkDerivation rec {
pname = "keylight-cli";
version = "1.0.0";

src = fetchFromGitHub {
owner = "versality";
repo = "keylight-cli";
rev = "46ff8472f9544e16eea822bf274acf4a5cbedbe8";
sha256 = "sha256-gzTvMBa7JVckxLnltlR5XOj6BBbfPXZei7Wj3f1n4Kw=";
};

propagatedBuildInputs = [ babashka ];

installPhase = ''
mkdir -p $out/bin
install -Dm755 keylight.bb $out/bin/keylight
'';

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;
};
}

0 comments on commit 7c18ff8

Please sign in to comment.