dtv-scan-tables_linuxtv: init at 2022-04-30-57ed29822750

As this is the original repository of dtv scan tables,
and is still actively maintained, it becomes
the new default package for `dtv-scan-tables`.
This commit is contained in:
Yarny0 2023-01-14 13:23:31 +01:00
parent 0a2b99bbc2
commit d425725ce3
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,54 @@
{ lib
, stdenv
, fetchurl
, v4l-utils
}:
let
version_ = "2022-04-30-57ed29822750";
in
stdenv.mkDerivation rec {
pname = "dtv-scan-tables";
version = "${version_}-linuxtv";
src = fetchurl {
url = "https://linuxtv.org/downloads/${pname}/${pname}-${version_}.tar.bz2";
hash = "sha256-amJoqjkkWTePo6E5IvwBWj+mP/gi9LDWTTPXE1Cm7J4=";
};
nativeBuildInputs = [
v4l-utils
];
sourceRoot = "usr/share/dvb";
makeFlags = [
"PREFIX=$(out)"
];
allowedReferences = [ ];
meta = with lib; {
# git repo with current revision is here:
#downloadPage = "https://git.linuxtv.org/dtv-scan-tables.git";
# Weekly releases are supposed to be here
downloadPage = "https://linuxtv.org/downloads/dtv-scan-tables/";
# but sometimes they lag behind several weeks or even months.
description = "Digital TV (DVB) channel/transponder scan tables";
homepage = "https://www.linuxtv.org/wiki/index.php/Dtv-scan-tables";
license = with licenses; [ gpl2Only lgpl21Only ];
longDescription = ''
When scanning for dvb channels,
most applications require an initial set of
transponder coordinates (frequencies etc.).
These coordinates differ, depending of the
receiver's location or on the satellite.
The package delivers a collection of transponder
tables ready to be used by software like "dvbv5-scan".
'';
maintainers = with maintainers; [ yarny ];
};
}

View File

@ -455,7 +455,9 @@ with pkgs;
dsq = callPackage ../tools/misc/dsq { };
dtv-scan-tables_linuxtv = callPackage ../data/misc/dtv-scan-tables/linuxtv.nix { };
dtv-scan-tables_tvheadend = callPackage ../data/misc/dtv-scan-tables/tvheadend.nix { };
dtv-scan-tables = dtv-scan-tables_linuxtv;
dufs = callPackage ../servers/http/dufs {
inherit (darwin.apple_sdk.frameworks) Security;