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