Merge pull request #122463 from kittywitch/libreelec-dvb-firmware

libreelec-dvb-firmware: init at 1.4.2
This commit is contained in:
Sandro 2021-08-21 02:23:00 +02:00 committed by GitHub
commit 52c4168699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 43 additions and 29 deletions

View File

@ -5668,6 +5668,16 @@
githubId = 148352;
name = "Jim Fowler";
};
kittywitch = {
email = "kat@kittywit.ch";
github = "kittywitch";
githubId = 67870215;
name = "kat witch";
keys = [{
longkeyid = "rsa4096/0x7248991EFA8EFBEE";
fingerprint = "01F5 0A29 D4AA 9117 5A11 BDB1 7248 991E FA8E FBEE";
}];
};
kiwi = {
email = "envy1988@gmail.com";
github = "Kiwi";

View File

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, lib}:
stdenv.mkDerivation rec {
pname = "libreelec-dvb-firmware";
version = "1.4.2";
src = fetchFromGitHub {
repo = "dvb-firmware";
owner = "LibreElec";
rev = version;
sha256 = "1xnfl4gp6d81gpdp86v5xgcqiqz2nf1i43sb3a4i5jqs8kxcap2k";
};
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;
};
}

View File

@ -1,28 +0,0 @@
{ lib, stdenv, fetchurl }:
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";
};
installPhase = ''
runHook preInstall
DESTDIR="$out" ./install
find $out \( -name 'README.*' -or -name 'LICEN[SC]E.*' -or -name '*.txt' \) | xargs rm
runHook postInstall
'';
meta = with lib; {
description = "DVB firmware from OpenELEC";
homepage = "https://github.com/OpenELEC/dvb-firmware";
license = licenses.unfreeRedistributableFirmware;
platforms = platforms.linux;
priority = 7;
};
}

View File

@ -561,6 +561,7 @@ mapAliases ({
olifant = throw "olifant has been removed from nixpkgs, as it was unmaintained."; # added 2021-08-05
opencl-icd = ocl-icd; # added 2017-01-20
openconnect_pa = throw "openconnect_pa fork has been discontinued, support for GlobalProtect is now available in openconnect"; # added 2021-05-21
openelec-dvb-firmware = libreelec-dvb-firmware; # added 2021-05-10
openexr_ctl = ctl; # added 2018-04-25
openisns = open-isns; # added 2020-01-28
openjpeg_1 = throw "openjpeg_1 has been removed, use openjpeg_2 instead"; # added 2021-01-24

View File

@ -21059,7 +21059,7 @@ with pkgs;
linuxConsoleTools = callPackage ../os-specific/linux/consoletools { };
openelec-dvb-firmware = callPackage ../os-specific/linux/firmware/openelec-dvb-firmware { };
libreelec-dvb-firmware = callPackage ../os-specific/linux/firmware/libreelec-dvb-firmware { };
openiscsi = callPackage ../os-specific/linux/open-iscsi { };