about summary refs log tree commit diff
path: root/pkgs/data/misc/dtv-scan-tables/default.nix
blob: 741823871f4a16b85fdcb607939fe05b14526258 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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; [ ];
  };
}