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
2020-01-07 15:58:41 -05:00

26 lines
513 B
Nix

{ stdenv, fetchFromGitHub, xxd, libusb }:
stdenv.mkDerivation {
pname = "pinebook-pro-keyboard-updater";
version = "2019-11-24";
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 = "e2192c37456c6c3d0701ead62d56c320f80858b9";
sha256 = "1pwz2fdqlwvab3xswi97msn06znbzdlbx1j4qx8fmqkqfg8z260z";
};
}