Merge pull request #27983 from hhomar/openelec-dvb-firmware

openelec-dvb-firmware: init at 0.0.51
This commit is contained in:
Jörg Thalheim 2017-08-12 19:17:49 +01:00 committed by GitHub
commit e888cfb130
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "openelec-dvb-firmware-${version}";
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
'';
meta = with stdenv.lib; {
description = "DVB firmware from OpenELEC";
homepage = https://github.com/OpenELEC/dvb-firmware;
license = licenses.unfreeRedistributableFirmware;
platforms = platforms.linux;
priority = 7;
};
}

View File

@ -12002,6 +12002,8 @@ with pkgs;
linuxConsoleTools = callPackage ../os-specific/linux/consoletools { };
openelec-dvb-firmware = callPackage ../os-specific/linux/firmware/openelec-dvb-firmware { };
openiscsi = callPackage ../os-specific/linux/open-iscsi { };
openisns = callPackage ../os-specific/linux/open-isns { };