pkgs/libreelec-dvb-firmware: init + hosts/ostara: tvheadend

Samhain has a virtualhost for it to make it accessible on Yggdrasil.
This commit is contained in:
kat witch 2021-05-12 01:52:15 +01:00
parent a1aafd06f7
commit e9d795cc37
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 70 additions and 1 deletions

View file

@ -51,6 +51,8 @@ let
obs-studio = super.obs-studio.override { pipewireSupport = true; };
libreelec-dvb-firmware = self.callPackage ./libreelec-dvb-firmware { };
hextorgba =
(import ../lib/colorhelpers.nix { inherit (super) lib; }).hextorgba;

View file

@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, lib}:
stdenv.mkDerivation rec {
name = "libreelec-fw-dvb";
version = "1.4.2";
src = fetchFromGitHub {
repo = "dvb-firmware";
owner = "LibreElec";
rev = version;
sha256 = "1xnfl4gp6d81gpdp86v5xgcqiqz2nf1i43sb3a4i5jqs8kxcap2k";
};
buildPhase = "";
installPhase = ''
mkdir -p $out/lib
cp -rv firmware $out/lib/
'';
meta = with lib; {
license = lib.licenses.unfreeRedistributableFirmware;
maintainers = with maintainers; [ kittywitch ];
platforms = with platforms; linux;
};
}