2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "openelec-dvb-firmware";
|
|
|
|
version = "0.0.51";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/OpenELEC/dvb-firmware/archive/${version}.tar.gz";
|
|
|
|
sha256 = "cef3ce537d213e020af794cecf9de207e2882c375ceda39102eb6fa2580bad8d";
|
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
DESTDIR="$out" ./install
|
|
|
|
find $out \( -name 'README.*' -or -name 'LICEN[SC]E.*' -or -name '*.txt' \) | xargs rm
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "DVB firmware from OpenELEC";
|
|
|
|
homepage = "https://github.com/OpenELEC/dvb-firmware";
|
|
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
priority = 7;
|
|
|
|
};
|
|
|
|
}
|