mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-30 06:49:43 +01:00
26 lines
511 B
Nix
26 lines
511 B
Nix
{ stdenv, fetchFromGitHub, xxd, libusb }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "pinebook-pro-keyboard-updater";
|
|
version = "2020-01-22";
|
|
|
|
nativeBuildInputs = [
|
|
xxd
|
|
];
|
|
|
|
buildInputs = [
|
|
libusb
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp -v updater $out/bin
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jackhumbert";
|
|
repo = "pinebook-pro-keyboard-updater";
|
|
rev = "10535c84ee599d3225b02a391c6eb2f9d8d5cdbe";
|
|
sha256 = "1kk4qzliqn1r8vfx8zdfpkpqazhxr4v2baahhgmlsblh0cm1cxnc";
|
|
};
|
|
}
|