dtv-scan-tables: 2020-05-18 -> 2022-10-27

Extracted from tvheadend and exposed as top-level attribute.
This commit is contained in:
Martin Weinelt 2022-12-21 16:53:27 +01:00
parent c211b4787e
commit b948496d97
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
3 changed files with 35 additions and 13 deletions

View File

@ -0,0 +1,32 @@
{ lib
, stdenv
, fetchFromGitHub
, v4l-utils
}:
stdenv.mkDerivation rec {
pname = "dtv-scan-tables";
version = "20221027";
src = fetchFromGitHub {
owner = "tvheadend";
repo = "dtv-scan-tables";
rev = "2a3dbfbab129c00d3f131c9c2f06b2be4c06fec6";
hash = "sha256-bJ+naUs3TDFul4PmpnWYld3j1Se+1X6U9jnECe3sno0=";
};
nativeBuildInputs = [
v4l-utils
];
installFlags = [
"DATADIR=$(out)"
];
meta = with lib; {
description = "Digital TV scan tables";
homepage = "https://github.com/tvheadend/dtv-scan-tables";
license = with licenses; [ gpl2Only lgpl21Only ];
maintainers = with maintainers; [ ];
};
}

View File

@ -13,6 +13,7 @@
, avahi
, bzip2
, dbus
, dtv-scan-tables
, ffmpeg
, gettext
, gnutar
@ -25,19 +26,6 @@
let
version = "4.2.8";
dtv-scan-tables = stdenv.mkDerivation {
pname = "dtv-scan-tables";
version = "2020-05-18";
src = fetchFromGitHub {
owner = "tvheadend";
repo = "dtv-scan-tables";
rev = "e3138a506a064f6dfd0639d69f383e8e576609da";
sha256 = "19ac9ds3rfc2xrqcywsbd1iwcpv7vmql7gp01iikxkzcgm2g2b6w";
};
nativeBuildInputs = [ v4l-utils ];
installFlags = [ "DATADIR=$(out)" ];
};
in stdenv.mkDerivation {
pname = "tvheadend";
inherit version;

View File

@ -458,6 +458,8 @@ with pkgs;
dsq = callPackage ../tools/misc/dsq { };
dtv-scan-tables = callPackage ../data/misc/dtv-scan-tables { };
dufs = callPackage ../servers/http/dufs {
inherit (darwin.apple_sdk.frameworks) Security;
};