about summary refs log tree commit diff
path: root/pkgs/tools/misc/edid-decode/default.nix
blob: 788f1bef3432d3d12a6eecb9ae72efa837fd04d6 (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
{ lib, stdenv, fetchgit }:

stdenv.mkDerivation rec {
  pname = "edid-decode";
  version = "unstable-2022-04-06";

  src = fetchgit {
    url = "git://linuxtv.org/edid-decode.git";
    rev = "6def7bc83dfb0338632e06a8b14c93faa6af8879";
    sha256 = "0v6d6jy309pb02l377l0fpmgfsvcpiqc5bvyrli34v413mhq6p15";
  };

  installPhase = ''
    mkdir -p $out/bin
    cp edid-decode $out/bin
  '';

  meta = with lib; {
    description = "EDID decoder and conformance tester";
    homepage = "https://git.linuxtv.org/edid-decode.git";
    license = licenses.mit;
    maintainers = with maintainers; [ Madouura ];
    platforms = lib.platforms.all;
  };
}