2022-12-28 21:21:41 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchgit
|
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
2021-07-17 21:14:59 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
stdenv.mkDerivation {
|
2022-04-27 09:35:20 +00:00
|
|
|
pname = "edid-decode";
|
2022-12-28 21:21:41 +00:00
|
|
|
version = "unstable-2022-12-14";
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"man"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://linuxtv.org/edid-decode.git";
|
2022-12-28 21:21:41 +00:00
|
|
|
rev = "e052f5f9fdf74ca11aa1a8edfa62eff8d0aa3d0d";
|
|
|
|
hash = "sha256-qNtb/eM7VpS8nRbC/nNm6J9vEWVUSrg7OwNaW1774QY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
preBuild = ''
|
|
|
|
export DESTDIR=$out
|
|
|
|
export bindir=/bin
|
|
|
|
export mandir=/share/man
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "EDID decoder and conformance tester";
|
2022-04-27 09:35:20 +00:00
|
|
|
homepage = "https://git.linuxtv.org/edid-decode.git";
|
2022-12-28 21:21:41 +00:00
|
|
|
license = with licenses; [ mit ];
|
2022-04-27 09:35:20 +00:00
|
|
|
maintainers = with maintainers; [ Madouura ];
|
2022-12-28 21:21:41 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
}
|