Skip to content

Commit

Permalink
leddy: Init at 0.1.0-unstable-2024-04-05
Browse files Browse the repository at this point in the history
  • Loading branch information
jmir1 committed Oct 15, 2024
1 parent c6a5917 commit 203f6c8
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 @@ -10194,6 +10194,12 @@
githubId = 54179289;
name = "Jason Miller";
};
jmir = {
email = "[email protected]";
github = "jmir1";
githubId = 43830312;
name = "Joël Miramon";
};
jn-sena = {
email = "[email protected]";
github = "jn-sena";
Expand Down
34 changes: 34 additions & 0 deletions pkgs/by-name/le/leddy/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
hidapi,
udev,
}:

rustPlatform.buildRustPackage rec {
pname = "leddy";
version = "0.1.0-unstable-2024-04-05";
src = fetchFromGitHub {
owner = "XanClic";
repo = pname;
rev = "master";
hash = "sha256-TgtD51Hd34rEm/kW+F9cqUZ6v8z1LbWCU7sM8aV17XY=";
};
cargoHash = "sha256-tq8LD5zl+2NNackfVz1ZJ5mlL3sL2zDzqDXgX/5OB9Q=";

nativeBuildInputs = [ pkg-config ];
buildInputs = [
hidapi
udev
];

meta = with lib; {
description = "LED controller for the Fnatic miniStreak and Fnatic Streak keyboards.";
homepage = "https://github.com/XanClic/leddy";
license = licenses.unfree;
maintainers = [ maintainers.jmir ];
mainProgram = "leddy";
};
}

0 comments on commit 203f6c8

Please sign in to comment.