openelec-dvb-firmware: init at 0.0.51

This commit is contained in:
Heitham Omar 2017-08-06 16:29:09 +01:00
parent 6b9b08eaed
commit d3107e4508
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

@ -11991,6 +11991,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 { };