Files
nixpkgs/pkgs/by-name/qm/qmk_hid/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

43 lines
817 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
systemd,
}:
rustPlatform.buildRustPackage rec {
pname = "qmk_hid";
version = "0.1.12";
src = fetchFromGitHub {
owner = "FrameworkComputer";
repo = "qmk_hid";
rev = "v${version}";
hash = "sha256-wJi7FQrvMbdTwvbbjBnzmxupMbEuM8TeZ0JIK5ulQKI=";
};
cargoHash = "sha256-ytg4pgPzl9dKyCWgRRVRg1noNRvBhBnWNf9bmNcHnjY=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
systemd
];
checkFlags = [
# test doesn't compile
"--skip=src/lib.rs"
];
meta = with lib; {
description = "Commandline tool for interactng with QMK devices over HID";
homepage = "https://github.com/FrameworkComputer/qmk_hid";
license = with licenses; [ bsd3 ];
maintainers = [ ];
mainProgram = "qmk_hid";
};
}