e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
31 lines
795 B
Nix
31 lines
795 B
Nix
{ stdenvNoCC, fetchFromGitHub, lib}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "libreelec-dvb-firmware";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "dvb-firmware";
|
|
owner = "LibreElec";
|
|
rev = version;
|
|
sha256 = "sha256-uEobcv5kqGxIOfSVVKH+iT7DHPF13OFiRF7c1GIUqtU=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/lib
|
|
cp -rv firmware $out/lib
|
|
find $out/lib \( -name 'README.*' -or -name 'LICEN[SC]E.*' -or -name '*.txt' \) | xargs rm
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "DVB firmware from LibreELEC";
|
|
homepage = "https://github.com/LibreELEC/dvb-firmware";
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
maintainers = with maintainers; [ kittywitch ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|