3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/firmware/openelec-dvb-firmware/default.nix

29 lines
734 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2017-08-06 16:29:09 +01:00
stdenv.mkDerivation rec {
pname = "openelec-dvb-firmware";
2017-08-06 16:29:09 +01:00
version = "0.0.51";
src = fetchurl {
url = "https://github.com/OpenELEC/dvb-firmware/archive/${version}.tar.gz";
sha256 = "cef3ce537d213e020af794cecf9de207e2882c375ceda39102eb6fa2580bad8d";
};
installPhase = ''
2021-07-26 19:22:37 +01:00
runHook preInstall
2017-08-06 16:29:09 +01:00
DESTDIR="$out" ./install
find $out \( -name 'README.*' -or -name 'LICEN[SC]E.*' -or -name '*.txt' \) | xargs rm
2021-07-26 19:22:37 +01:00
runHook postInstall
2017-08-06 16:29:09 +01:00
'';
meta = with lib; {
2017-08-06 16:29:09 +01:00
description = "DVB firmware from OpenELEC";
homepage = "https://github.com/OpenELEC/dvb-firmware";
2017-08-06 16:29:09 +01:00
license = licenses.unfreeRedistributableFirmware;
platforms = platforms.linux;
priority = 7;
};
}