2022-12-24 23:42:45 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchgit
|
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
2021-07-14 17:10:11 +02:00
|
|
|
|
2023-07-12 17:22:45 +02:00
|
|
|
stdenv.mkDerivation {
|
2022-04-17 23:02:34 +02:00
|
|
|
pname = "edid-decode";
|
2024-02-01 10:00:00 +01:00
|
|
|
version = "unstable-2024-01-29";
|
2022-12-24 23:42:45 +01:00
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"man"
|
|
|
|
];
|
2018-02-04 23:49:16 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
2018-12-31 16:21:23 +01:00
|
|
|
url = "git://linuxtv.org/edid-decode.git";
|
2024-02-01 10:00:00 +01:00
|
|
|
rev = "7a27b339cf5ee1ab431431a844418a7f7c16d167";
|
|
|
|
hash = "sha256-y+g+E4kaQh6j+3GvHdcVEGQu/zOkGyW/HazUHG0DCxM=";
|
2018-02-04 23:49:16 +01:00
|
|
|
};
|
|
|
|
|
2022-12-24 23:42:45 +01:00
|
|
|
preBuild = ''
|
|
|
|
export DESTDIR=$out
|
|
|
|
export bindir=/bin
|
|
|
|
export mandir=/share/man
|
2018-02-04 23:49:16 +01:00
|
|
|
'';
|
|
|
|
|
2022-12-24 23:42:45 +01:00
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
2022-04-18 01:13:36 +02:00
|
|
|
meta = with lib; {
|
2018-02-04 23:49:16 +01:00
|
|
|
description = "EDID decoder and conformance tester";
|
2022-04-17 23:02:34 +02:00
|
|
|
homepage = "https://git.linuxtv.org/edid-decode.git";
|
2022-12-24 23:42:45 +01:00
|
|
|
license = with licenses; [ mit ];
|
2022-04-18 01:13:36 +02:00
|
|
|
maintainers = with maintainers; [ Madouura ];
|
2022-12-24 23:42:45 +01:00
|
|
|
platforms = platforms.all;
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "edid-decode";
|
2018-02-04 23:49:16 +01:00
|
|
|
};
|
2023-07-12 17:22:45 +02:00
|
|
|
}
|