2023-01-14 12:23:31 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, v4l-utils
|
|
|
|
}:
|
|
|
|
|
2024-05-04 06:42:45 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2023-01-14 12:23:31 +00:00
|
|
|
pname = "dtv-scan-tables";
|
2024-05-04 07:02:30 +00:00
|
|
|
version = "2024-03-24-7098bdd27548";
|
2023-01-14 12:23:31 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-05-04 06:42:45 +00:00
|
|
|
url = "https://linuxtv.org/downloads/dtv-scan-tables/dtv-scan-tables-${finalAttrs.version}.tar.bz2";
|
2024-05-04 07:02:30 +00:00
|
|
|
hash = "sha256-P0yJgbOkgpBms5arwNonDlx+Z0tdGQ6SUyoGlRoH6Y4=";
|
2023-01-14 12:23:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
v4l-utils
|
|
|
|
];
|
|
|
|
|
|
|
|
sourceRoot = "usr/share/dvb";
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
|
|
|
|
|
|
|
allowedReferences = [ ];
|
|
|
|
|
2024-05-04 06:55:16 +00:00
|
|
|
meta = {
|
2023-01-14 12:23:31 +00:00
|
|
|
# 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";
|
2024-05-04 06:55:16 +00:00
|
|
|
license = with lib.licenses; [ gpl2Only lgpl21Only ];
|
2023-01-14 12:23:31 +00:00
|
|
|
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".
|
|
|
|
'';
|
2024-05-04 06:55:16 +00:00
|
|
|
maintainers = with lib.maintainers; [ yarny ];
|
2023-01-14 12:23:31 +00:00
|
|
|
};
|
2024-05-04 06:42:45 +00:00
|
|
|
})
|