1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-11-27 05:19:44 +01:00
wip-pinebook-pro/keyboard-updater/default.nix

27 lines
513 B
Nix
Raw Normal View History

2020-01-07 21:58:19 +01:00
{ stdenv, fetchFromGitHub, xxd, libusb }:
stdenv.mkDerivation {
pname = "pinebook-pro-keyboard-updater";
version = "2020-01-14";
2020-01-07 21:58:19 +01:00
nativeBuildInputs = [
xxd
];
buildInputs = [
libusb
];
installPhase = ''
mkdir -p $out/bin
cp -v updater $out/bin
'';
src = fetchFromGitHub {
owner = "ayufan-rock64";
repo = "pinebook-pro-keyboard-updater";
rev = "68c5232b75a2acd8aa3e2c8b623b01a5465dca72";
sha256 = "013mqdxhgszv7syss9lsxjxq00yxy7idj9k2ib1yq2wf0y7kvx96";
2020-01-07 21:58:19 +01:00
};
}