mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
Add Fydetab Duo
This commit is contained in:
parent
3dac8a8725
commit
d9b0f10475
13 changed files with 10008 additions and 0 deletions
34
fydetab/duo/himax.nix
Normal file
34
fydetab/duo/himax.nix
Normal 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;
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue