Files
nixpkgs/pkgs/by-name/le/leddy/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
816 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
hidapi,
udev,
}:
rustPlatform.buildRustPackage {
pname = "leddy";
version = "0.1.0-unstable-2024-10-15";
src = fetchFromGitHub {
owner = "XanClic";
repo = "leddy";
rev = "fd259425980df17bd761006a1ccef93e23bfdad6";
hash = "sha256-7t+E47odtayw26AnhtkxIWr0TxDwruEjP3Af3ajmVAA=";
};
cargoHash = "sha256-ezl9/vKDPJNYH1U4H/7OtE0g3iWIS+tDapJDhaKT+l0=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
hidapi
udev
];
doCheck = false; # no tests
meta = {
description = "LED controller for the Fnatic miniStreak and Fnatic Streak keyboards";
homepage = "https://github.com/XanClic/leddy";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.jmir ];
mainProgram = "leddy";
};
}