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

27 lines
511 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-22";
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 = "jackhumbert";
2020-01-07 21:58:19 +01:00
repo = "pinebook-pro-keyboard-updater";
rev = "10535c84ee599d3225b02a391c6eb2f9d8d5cdbe";
sha256 = "1kk4qzliqn1r8vfx8zdfpkpqazhxr4v2baahhgmlsblh0cm1cxnc";
2020-01-07 21:58:19 +01:00
};
}