mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
42 lines
810 B
Nix
42 lines
810 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, systemd
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "qmk_hid";
|
|
version = "0.1.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FrameworkComputer";
|
|
repo = "qmk_hid";
|
|
rev = "v${version}";
|
|
hash = "sha256-k5cZcrjen7nNJM9mKQEwNTVfBPawXwbwNlCyTARdH/g=";
|
|
};
|
|
|
|
cargoHash = "sha256-GrerrNDoSFtOEAf0vB9MlkBl+yLnzd/szrpFsAmkB6s=";
|
|
|
|
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";
|
|
};
|
|
}
|