e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
41 lines
925 B
Nix
41 lines
925 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "ivsc-firmware";
|
|
version = "unstable-2023-08-11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "ivsc-firmware";
|
|
rev = "10c214fea5560060d387fbd2fb8a1af329cb6232";
|
|
hash = "sha256-kEoA0yeGXuuB+jlMIhNm+SBljH+Ru7zt3PzGb+EPBPw=";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/lib/firmware/vsc
|
|
cp --no-preserve=mode --recursive ./firmware/* $out/lib/firmware/vsc/
|
|
install -D ./LICENSE $out/share/doc
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Firmware binaries for the Intel Vision Sensing Controller";
|
|
homepage = "https://github.com/intel/ivsc-firmware";
|
|
license = licenses.issl;
|
|
sourceProvenance = with sourceTypes; [
|
|
binaryFirmware
|
|
];
|
|
maintainers = with maintainers; [
|
|
hexa
|
|
];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|