Add Fydetab Duo

This commit is contained in:
Tristan Ross 2025-08-18 21:40:57 -07:00
parent 3dac8a8725
commit d9b0f10475
No known key found for this signature in database
GPG key ID: B09C422035669AF8
13 changed files with 10008 additions and 0 deletions

34
fydetab/duo/himax.nix Normal file
View file

@ -0,0 +1,34 @@
{
stdenv,
fetchurl,
lib,
}:
stdenv.mkDerivation (_finalAttrs: {
pname = "himax-firmware";
version = "2024-11-09";
src = fetchurl {
url = "https://github.com/Linux-for-Fydetab-Duo/pkgbuilds/raw/f4c012bd42d87f677370f987f703982d53cd233d/fydetabduo-post-install/Himax_firmware.bin";
};
compressFirmware = false;
dontUnpack = true;
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/lib/firmware
cp --no-preserve=ownership,mode $src $out/lib/firmware/Himax_firmware.bin
ls -ahl $out/lib/firmware
runHook postInstall
'';
meta = {
description = "Himax sensor firmware";
license = lib.licenses.unfree;
};
})