1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 19:39:42 +01:00
nixos-hardware/pine64/pinebook-pro/keyboard-updater/default.nix

27 lines
509 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, xxd, libusb }:
stdenv.mkDerivation {
pname = "pinebook-pro-keyboard-updater";
version = "2021-07-28";
nativeBuildInputs = [
xxd
];
buildInputs = [
libusb
];
installPhase = ''
mkdir -p $out/bin
cp -v updater $out/bin
'';
src = fetchFromGitHub {
owner = "dragan-simic";
repo = "pinebook-pro-keyboard-updater";
rev = "bd8d2ea48992b3e6ddd0b9435d21b74cdcf97224";
hash = "sha256-3+Qsa5lk1EJrLvPSyWthqBMTqJCigbJSmnsS6hdu+w8=";
};
}